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?
2 Réponses
+ 1
Sorry, it doesn't help.
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!