+ 1
EOFError python. Pls help
I tried making a guess my number game, because why not? But I keep bumping into an End of File error, but my code looks clean. Can someone pls check it out for me. Any help is much appreciated. https://code.sololearn.com/czIqrE7A0Ddj/?ref=app
3 Answers
+ 4
This is a limit of Playground. If you press RUN button, you have to write all the inputs you need. So if you enter one number and it is not a number program wants, playground tries to read one more number. However, there is no number to read. This causes EOFError.
+ 2
Wow thx, no wonder they ask us to place multiple inputs in different lines
+ 2
Well there goes my game lol. Thx a lot for the info đ