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

explain why the motion of a body which is moving with constant speed in a circular path is said to be accelerated ?
What's the other word stubborn; inflexible
Liz wants to drink 1.5 litres of water each day. She buys the water in packs of 6 bottles. Each bottle contains 0.5 litres of water. How many packs of water do
Choose the more precise measurement in the pair.  A .) 6.7 mi or  B.) 6 mi
Jim has gotten scores of 99 and 93 on his first two tests. what score must he get on his third test to keep an average of 90 or greater
What's the other word speaking in circles; round-about speech
if Xx8=y is the rule,and the value of x is 4, what is the value of y
write a system of equations and solvea class of 195 students went on a field trip. They took 7 vehicles,some cars and some buses. find the number of cars and nu
Which of the following steps is not critical in the creation of Bt corn?a.Cut out a piece of DNA from a DNA molecule.b.Splice a piece of DNA into DNA from anoth
How do we use the Pythagoras theorem in "everyday life".