Why inputs in while loop are showing EOFerror | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why inputs in while loop are showing EOFerror

How to clear EOFerror in python. It is appearing only if input is used inside while loop. I'm using mobile

18th Jun 2021, 5:09 PM
Charan
Charan - avatar
3 Answers
+ 1
Your best bet is to install your IDE right away and write code and practice there. EOFerror appears when input has been skipped
18th Jun 2021, 5:12 PM
SammE
SammE - avatar
+ 2
Use exception handling mechanism in the while-loop body. https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2440/
18th Jun 2021, 10:23 PM
Ipang
0
Link your code here so we can check what actual the problem is.?
18th Jun 2021, 6:21 PM
A S Raghuvanshi
A S Raghuvanshi - avatar