In this exercise,
you're going to be debugging the Leap Year program.
Without looking at the original code
or the solution code for the leap year problem,
I want you to go from first principles,
check and test the code,
and see where it's going wrong,
and then try to fix the bugs.
And if everything went well,
if you hit Submit, it should pass all the tests.
You can also do test-driven development
where you run the tests
and then see which ones are not passing
and figure out what's wrong with your code that way as well.
So, have a go now.
Now again, a simple solution but difficult to find.
If you ran the code
or if you tried to submit the code,
you should have seen, in the output, a TypeError,
and this should be a hint
for you to start thinking about data types.
Where is the data type not what the program expects?
And it's of course, in the input().
The input() comes in as a string
and we have to convert it into an integer
in order to be able to run the modulo operator on it.
That is where you need to fix it.