22nd Jul 2018, 9:28 AM
Sajad Rahmanian
Sajad Rahmanian - avatar
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.
22nd Jul 2018, 9:37 AM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar
+ 5
https://docs.python.org/3/library/exceptions.html
22nd Jul 2018, 9:41 AM
Mert Yazıcı
Mert Yazıcı - avatar
+ 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.
22nd Jul 2018, 9:36 AM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar