EOF Error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

EOF Error?

What is the cause of the EOF error.. Everything appears to work, however there is an error message after running https://code.sololearn.com/cMwYU4G32wZe/?ref=app

29th Mar 2020, 5:38 PM
Christian Jacob O'Neill
Christian Jacob O'Neill - avatar
2 Answers
+ 1
I think this is due to code playground. As we give all inputs before execution of program.And you are using while loop in first step. Suppose,I input Add 4 5 It give me 9 as output that is correct but due to while loop it is still needing input but we can't provide it in playground . So it might be due to this reason you try it on any other ide. It might be wrong just try. It may works.
29th Mar 2020, 5:45 PM
Muhammad Bilal
Muhammad Bilal - avatar
0
Oh right, thank you ill try it! Edit: tried pythondroid 3 and it works thankyou, ill have to run my codes on there in future to avoid unwanted symptoms of code playground
29th Mar 2020, 5:46 PM
Christian Jacob O'Neill
Christian Jacob O'Neill - avatar