What is an EOFError in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is an EOFError in python?

This code runs on python on my computer but I want to upload it to solo learn. When I try to run this code it comes up with an EOFError.Pls help, Thanks

31st Dec 2018, 3:37 PM
gabe.c423
gabe.c423 - avatar
4 Answers
+ 2
Exception EOFError: Raised when the input() function hits and end-of-file condition (EOF) without reading any data. https://docs.python.org/3/library/exceptions.html#EOFError
31st Dec 2018, 3:45 PM
Diego
Diego - avatar
+ 2
Remember that, unlike other Python IDE’s, all inputs must be entered at the beginning of the code in the Sololearn’s Code Playground.
31st Dec 2018, 3:56 PM
Diego
Diego - avatar
+ 1
Diego Acero ok thank you
31st Dec 2018, 4:01 PM
gabe.c423
gabe.c423 - avatar
0
Diego Acero Thank you
31st Dec 2018, 3:46 PM
gabe.c423
gabe.c423 - avatar