0

Who is an EOFerror in python

i've been getting EOFerror in a program in python and i don't know what to do

28th Sep 2018, 1:41 PM
L.o.n.e_L.i.o.n
L.o.n.e_L.i.o.n - avatar
15 odpowiedzi
+ 7
Can you show us the code. Maybe its because of the input you're giving to the code. does it work fine on editor/interpreter you use?
28th Sep 2018, 2:30 PM
Frost
Frost - avatar
+ 6
Thank you 😉 LONGTIE👔
28th Sep 2018, 3:26 PM
Frost
Frost - avatar
+ 5
chukwuyem unless you input Because. it will raise a EOFerror
28th Sep 2018, 3:46 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 5
chukwuyem you should input Because. remember to add the period
28th Sep 2018, 3:49 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 4
its most likely because you didn't input any thing when the code need you to. btw nice profile pic Frost 👍
28th Sep 2018, 3:03 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 4
because you included a while loop. your code will not end, until you input "Because." (no quotation marks) other wise it will raise a EOFerror
28th Sep 2018, 4:06 PM
LONGTIE👔
LONGTIE👔 - avatar
28th Sep 2018, 3:43 PM
L.o.n.e_L.i.o.n
L.o.n.e_L.i.o.n - avatar
+ 1
this is the code
28th Sep 2018, 3:43 PM
L.o.n.e_L.i.o.n
L.o.n.e_L.i.o.n - avatar
+ 1
what should i input
28th Sep 2018, 3:48 PM
L.o.n.e_L.i.o.n
L.o.n.e_L.i.o.n - avatar
+ 1
sorry i don't understand
28th Sep 2018, 3:57 PM
L.o.n.e_L.i.o.n
L.o.n.e_L.i.o.n - avatar
+ 1
it's not still working
28th Sep 2018, 4:08 PM
L.o.n.e_L.i.o.n
L.o.n.e_L.i.o.n - avatar
0
what*** sorry
28th Sep 2018, 1:42 PM
L.o.n.e_L.i.o.n
L.o.n.e_L.i.o.n - avatar
0
you are
28th Sep 2018, 3:56 PM
Bebida Roja
Bebida Roja - avatar
0
the problem is with line 10
28th Sep 2018, 3:59 PM
L.o.n.e_L.i.o.n
L.o.n.e_L.i.o.n - avatar
0
oh ok i'll try that
28th Sep 2018, 4:07 PM
L.o.n.e_L.i.o.n
L.o.n.e_L.i.o.n - avatar