0
How to remove eof error
so im working on a simple madlibs and it keeps giving me an eof error code: loop = 1 while loop<10: #put a noun noun = input() #put a plural noun p_noun = input() #put an adjective adjective = input() #put a name noun3 = input() print("------------------------------------------------------------------------------------------------------") print("Yaseen looks like a(n)", adjective, noun3) print(noun,"went to the very", adjective, "park") print("why are there so many", p_noun) print("I hate", p_noun) print("-------------------------------------------------------------------------------------------------------") loop = loop +1
2 odpowiedzi
+ 3
Oh yeah it's pretty simple actually, in SL code playground you have to provide all inputs beforehand, since you have some input in the while loop it will search for input that does not yet exist.
This will work on an external IDE. ^^
0
Ohh thanks!