EOFError: EOF when reading a line | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

EOFError: EOF when reading a line

this error appears when i use input in a while ex. while 2>1: ep=input("how are you?") i solved in another case putting the input before the while but this time the input must be inserted more than once

1st Feb 2017, 7:27 PM
Guido Parlatore
Guido Parlatore - avatar
1 Answer
+ 2
that works for me but will be an infinite loop
1st Feb 2017, 7:43 PM
Kawaii
Kawaii - avatar