lizethalire9208 lizethalire9208
  • 02-02-2022
  • Computers and Technology
contestada

how to print something nad input on same line python

Respuesta :

vanesszatanka vanesszatanka
  • 02-02-2022
To get everything on one line with two inputs is not (easily) achievable, as far as I know. The closest you can get is: print 'I have', a=input() print 'apples and', p=input() print 'pears. '
Answer Link

Otras preguntas

How do enzymes help to carry out biochemical reactions? A. By decreasing the energy of the reactants B. By increasing the activation energy of the reaction C. B
A boy can swim 75 feet in 12 seconds. What is his rate to the nearest mile per hour?
If 4x+5y=10 and x+3y = 8 then (5x+8y)/3=
An object of mass 2 kg has a linear momentum of magnitude 6 kg • m/s. What is this object’s kinetic energy?
Meg pounded a stake into the ground. When she attached a leash to both the stake and her dog’s collar, the dog could reach 9 feet from the stake in any directio
how do you figure out what is 1/4 of 10.
A test cross with an organism with a homozygous recessive genotype results in 50% of the offspring exhibiting the recessive trait. What is the genotype of the t
How many prime numbers are there between 56 and 100?
Estimate the angle of elevation from the trailhead to the summit.
In the formula e = hf, if e is doubled and f is halved, what happens to the value of h?