0
EOFerror from lesson
I copied a code from the lesson to test it out and see how it works, but it brought up EOF Error. How can I solve this? https://code.sololearn.com/c3daunSI4t4O/?ref=app
2 odpowiedzi
+ 6
The problem is that SoloLearn input system is not very interactive. You have to type all the inputs (tries) that you want to attempt (one per line). Otherwise it will break because it stops getting any input and the program cannot terminate.
It doesn't have the capacity at the moment to keep prompting you for input after every 'input()' call.
I tried that, and it works, once the correct line is input. If you try the program in a terminal or in an IDE, it won't have this issue.
+ 2
Thanks a lot. I will do that.