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

In scientific notation, what is the sum of 2.3 times 10^{-3} and 5.4 times 10^{-4}?a. 2.84 times 10^{-3}b. 5.63 times 10^{-3}c. 7.7 times 10^{-7}d. 12.42 times
What value of x makes the equation true ? 4(2x-4)=16
What value of x makes the equation true ? 4(2x-4)=16
What value of x makes the equation true ? 4(2x-4)=16
All of the following expressions have a value between 0 and 1, excepta. \frac{(-3^{7})}{(-3)^9}b. 4^{-10}× 4^{6}c. \frac{(8^3)^3}{8^{-4}} d. ( \frac{2}{5} ^{8})
What value of x makes the equation true ? 4(2x-4)=16
All of the following expressions have a value between 0 and 1, excepta. \frac{(-3^{7})}{(-3)^9}b. 4^{-10}× 4^{6}c. \frac{(8^3)^3}{8^{-4}} d. ( \frac{2}{5} ^{8})
In scientific notation, what is the sum of 2.3 times 10^{-3} and 5.4 times 10^{-4}?a. 2.84 times 10^{-3}b. 5.63 times 10^{-3}c. 7.7 times 10^{-7}d. 12.42 times
jasmines cd collection is 3/8 jazz 1/4 rap and the rest is rock music what is the fraction of rock music
What value of x makes the equation true ? 4(2x-4)=16