0

How do you take 2 inputs in python3?

In most python online compilers when you take a input it prints "EOFError: EOF when reading a line. How do you fix this?

26th Feb 2019, 5:21 PM
kfirar
kfirar - avatar
2 Antworten
+ 1
Sorry, it doesn't help.
27th Feb 2019, 7:04 AM
kfirar
kfirar - avatar
0
x, y = input().split() print("First input:", x) print("Second input:", y) Input (separated by a space): Hello world! Output: First input: Hello Second input: world!
26th Feb 2019, 8:35 PM
Diego
Diego - avatar