+ 1
How to stop this line from creating the EOF Error?
I2 = len(input()) - 2 I am trying to set this variable to the length of an input minus 2, but all I'm getting are End of File Errors, what more information does it need? If you have an answer, provide a cleaned version of this line, thanks!
9 Réponses
+ 2
nvm, thx so much!
+ 1
Thank you Petr!
+ 1
but still gave me the error..
+ 1
Gigabyte Masters what you input? and how many strings?
+ 1
I used your code. Not working
+ 1
I input word and see result:))
+ 1
Gigabyte Masters for input "word" result is 2
+ 1
Oh, I inputted word, it works. But try one with 2 lines