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

what is greater 8ft or 3yd
How do composite volcanoes get its layered interior?
A man that is 6 feet tall weighs 165 pounds. Use this information to predict the weight of a man that is 5 1 2 feet tall. A) 130 pounds B) 143 pounds Elimina
Communication is now instant across the world, and has allowed businesses to operate more efficiently. What is the main cause for this growth in worldwide gl
What does Freneau admire about the burial rites of Native Americans, as described in "The Indian Burying Ground"?
Which of the following citations in a Works Cited page uses proper mla style 1. Paul Smith. The Night on the River. New York: Penguin, 1987. Print 2. The Night
3. "The silky screen seeped serenity." is an example of __________. rhythm meter assonance alliteration
Which is equivalent to 3x/x-7 - x+7/x? A) 2x^2+49/x(x-7) B) x^2+49/x(x-7) C) 2(x+7)/x(x-7) D) 2(x-7)/x(x-7)
What was the purpose of the Tennessee Valley Authority (TVA) during the Great Depression? A) to insure bank deposits in the United States B) to create job oppo
How did the Iraq war of 2003 affect U.S. relations with countries in the Middle East?