+ 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
2 Antworten
+ 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.
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