+ 1
What's EOFError?
3 odpowiedzi
+ 2
if you want to do add operation your input should be like below.
add
1
2
quit
Note: quit at the end. Try like above you should not get EOF error.
+ 5
https://docs.python.org/3/library/exceptions.html
+ 2
there is no problem in your code. You are running on sololearn server and your getting EOF error is due to not passing correct input.