What the error EOF mean?? Need help!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What the error EOF mean?? Need help!!

When I run the code is come this error Traceback (most recent call last): File "/data/user/0/ru.iiec.pydroid3/files/temp_iiec_codefile.py", line 8, in <module> word = input("enter the word: ") EOFError: EOF when reading a line https://code.sololearn.com/cgYqRumzvXlh/?ref=app

15th Apr 2020, 1:33 PM
Amxl Amixul
Amxl Amixul - avatar
4 Answers
+ 2
EOF means End of File. It means the compiler has finished reading your code.
15th Apr 2020, 10:10 PM
cmcodes
cmcodes - avatar
+ 2
cmcodes EOF stand for End Of File... end of line accronym is EOL ^^ Amxl Amixul EOF error in python means that when parsing (analyzing) the code the interpreter reach the end of the script unexpectedly... that's usually due to a string literal or a bracket not correctly closed somewhere in the code ^^
16th Apr 2020, 12:45 AM
visph
visph - avatar
+ 2
Yeah! Sorry for the typo.
16th Apr 2020, 2:03 AM
cmcodes
cmcodes - avatar
+ 1
Nobody's petfect ;)
16th Apr 2020, 2:04 AM
visph
visph - avatar