+ 1

It's giving an EOF Error. What is it? Please help

It's a small project meant to take a user input, store the input in a list, give the output when the user asks. https://code.sololearn.com/ct9TxtUB0Jv0/?ref=app

23rd May 2020, 11:25 AM
Bunyod Abdusaidov
Bunyod Abdusaidov - avatar
5 ответов
0
What line does your error occur? And i believe Abhay solved this already
23rd May 2020, 11:31 AM
Slick
Slick - avatar
0
No it's another project
23rd May 2020, 11:42 AM
Bunyod Abdusaidov
Bunyod Abdusaidov - avatar
0
Fasho, so what line? You said it gives you an End of File error, itll also usually give you a problem line. And what were you doing when it cause the error? Adding a movie, listing them out, ect?
23rd May 2020, 11:48 AM
Slick
Slick - avatar
0
In line 38. In a normal idle, it doesn't cause an error, but here it does. Have you looked through my code? Also, It doesn't display a message asking the user to input a year that will calculate in which century this year is.
23rd May 2020, 11:58 AM
Bunyod Abdusaidov
Bunyod Abdusaidov - avatar
0
In the show_moviw function, you print out an f string with "movie[blah]", your list is called "movies". And are you able to enter every field in it before the program crashes?
23rd May 2020, 12:09 PM
Slick
Slick - avatar