0

Input 2 numbers

Hi, I have a trouble with a code. I don't know if is a fail in console or other thing, but i only can input one value, ex: x = int(input()) y = int(input()) z = x + y And he returns a error for line one, when I put a value, how I fix this?

4th Nov 2017, 10:40 PM
TheEditor
TheEditor - avatar
2 Réponses
+ 8
split you inputs with a new line example: 4 5
4th Nov 2017, 10:50 PM
Kamil
Kamil - avatar
0
Oh, thanks for that
4th Nov 2017, 10:51 PM
TheEditor
TheEditor - avatar