+ 1

EOFError: EOF when reading a line

The code displays leap year or not. I get an EOFError: EOF when reading a line. Please, help. https://code.sololearn.com/c1TOy8xvmAJ5/?ref=app

6th Aug 2020, 12:36 PM
Михаил
6 Antworten
+ 6
Common error while you are running code on sololearn ,code playground here isn't interactive so you need to provide all possible inputs at once
6th Aug 2020, 12:49 PM
Abhay
Abhay - avatar
+ 6
The function header in line 1 has an indentation, but should start at the beginning of the line. def is_year_leap():
6th Aug 2020, 1:29 PM
Lothar
Lothar - avatar
+ 4
SoloLearn's code playground isn't interactive so this EOF error is raised when u use multiline input in SoloLearn.
7th Aug 2020, 5:24 AM
MSN
MSN - avatar
+ 1
~ swim ~ thanks, it's Informative
6th Aug 2020, 1:15 PM
Михаил
0
Abhay I'll know. Thank you
6th Aug 2020, 12:55 PM
Михаил
6th Aug 2020, 12:56 PM
Михаил