+ 1
Input errors (python)
When i put multiple inputs it results in an error. Edit: i changed stuff a little and turns out the error was in line 2 while attempting to input something in https://sololearn.com/compiler-playground/ccZxNvF72Y5j/?ref=app
3 ответов
+ 3
Abdulrahman alturk
Try entering each input in separate line.
Input Example:
3
7
5
+ 2
I don't get any errors. The reason of you getting an error may be compiler related. The key point is, providing all three inputs on each line, in one go.
0
If you want to input 3,4 then you must write a, b = input() instead of a=input()
b=input()
Because you must enter like this:
1
2