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

Help?

I keep getting an EOFError ... line #11 in my numberGame code :(

1st Feb 2018, 1:47 AM
Stefanie Stinnette
Stefanie Stinnette - avatar
5 Answers
+ 6
That happens here in code playground because it assumes that you are giving all input at once. EOF error occurs when input is missing. If your program needs multiple inputs, give them in separate lines.
1st Feb 2018, 2:44 AM
Harsh
Harsh - avatar
+ 5
You're welcome
1st Feb 2018, 3:16 AM
Harsh
Harsh - avatar
+ 4
You could publish the code here, that way it's easier to help for any member of the community
1st Feb 2018, 2:02 AM
Mickel
Mickel - avatar
+ 3
Thanks!
1st Feb 2018, 2:45 AM
Stefanie Stinnette
Stefanie Stinnette - avatar
+ 2
Ohhhh ok that makes sense then!!
1st Feb 2018, 2:45 AM
Stefanie Stinnette
Stefanie Stinnette - avatar