0
I'm getting an EOFerror and don't know how to fix it....
sibs = int(input()) pops = int(input()) if popsicles%siblings==2: print("give away") else: print("eat them yourself")
4 odpowiedzi
+ 7
Bhumika Kanwar
There is a Name error because popsicles and siblings variables are not defined.
Replace `popsicles` to `pops` and `siblings` to `sibs` in your code and run again.
Also there is an extra space before if statement that will cause indentation error.
+ 2
Gulshan Mahawar
🤦🏻 thankyou dude,idk why I wasn't able to see that 😅
+ 2
Bhumika Kanwar ,
the *EOFError* may be caused by the input procedure of the sololearn playground.
> all input data are required to be done upfront in a popup window, for each input in a separate line.
then press submit.
0
Lothar
Thanku