Why can't we use input more than twice in Python? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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 Antwort
+ 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