0
I get EOF error for taking input in a while loop
My while loop with an integer casted input keep getting a failure on the input line. Any ideas? https://code.sololearn.com/cHQoYsNBegsB/?ref=app
3 Answers
+ 4
Hi! You can look at this:
https://code.sololearn.com/c0H030CAS7y9/?ref=app
+ 3
Sololearn playground is not interactive. You've to provide all the inputs in the pop-up box before running. So try this in some other interactive compiler, it'll run fine.
+ 2
Hello,
i tried your code on an online python editor and it works perfectly.