0
EOF Error
I get an EOF Error when I run this Code in SoloLearn, but when I use Pythonista it works... I didn't import anything into either https://code.sololearn.com/cSx80bAInmpu/?ref=app
1 Réponse
+ 4
EOFError usually occurs when you didn't enter input If your code needs more than one input you should enter like this:
input 1
input 2
input 3
and using
try:
a = input()
except EOFError:
break
helps too