Why can't we use input more than twice in Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why can't we use input more than twice in Python?

If I do that, I get an eoferror.

10th Mar 2022, 5:50 AM
Chris
1 Answer
+ 6
Separate the values by a new line. If you need X inputs, you use X-1 New Lines in the same 1 input box. example: var1 = input() var2 = input() in the input box: Hello World
10th Mar 2022, 5:53 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar