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

Evaluate the expression by using the given value of the variables. y ÷ 2 • 4 – 10 ÷ x + 6 where x = 5 and y = 16 a. 3 b. 21 c. 36 d. –3
what percent of 20 is 11
What is the term used to describe being replaced by machines? a. Suggestion b. Elaboration c. Automation d. Motivation
Author John Steinbeck's work was publicly acknowledged when A. he was awarded more honorary university degrees than any other author. B. a bust bearing his like
Which of the following is an example of climate? A. A sudden snowstorm resulted in subzero temperatures and 30 cm of new snow. B. In southern California, tempe
A circle has an area of 40 square meters. Which answer is closest to the measure of its diameter?
what is 40 divided by 9 with remainder
The aquarium holds 150 liters of water. How many milliliters is this?
Suppose a discount store sells a popular brand of mp3 players. In one month, they sold 114 units for a total profit of $7,410. How many units did they sell if t
What is the average of 36 and 83 ?