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

12th Aug 2018, 5:39 PM
Anton Böhler
Anton Böhler - avatar
1 ответ
+ 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
12th Aug 2018, 5:59 PM
Mert Yazıcı
Mert Yazıcı - avatar