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 you solve for x in 3x-12=9
Is the conditional statement true? If not, find the counterexample. (1 point) If a vegetable is green, then it is broccoli. A. The statement is true B. No a cou
How is shading a grid to show 1 tenth different from shading a grid to show 1 hundredth?
The price of a four star dinner was $100 two decades ago. A report says that a dinner is 250% of what it was 20 years ago, how much would it cost today?
What is the name of the Drive-in prominently featured on the TV show "Happy Days?
Which Gas Law explains the relationship between temperature and volume? A/ Gay-Lussac B/ Charles C/ Newton D/ Boyle
You have been hired to upgrade a network of 50 computers currently connected to 10 mbps hubs. this long-overdue upgrade is necessary because of poor network res
A marta le gustaba bucear, por eso su mascota favorita era _____.
A world-class sprinter can reach a top speed (of about 11.8 m/s ) in the first 19.0 m of a race. what is the average acceleration of this sprinter
Which social thinker promoted the idea of the “intermediate society”?