In this task, we will determine if the given year is a leap year or normal year. We can make our life easier because there is a Python calendar module that returns true if the year is a leap year by calling the isleap() method. But I will do it manually to practice my coding skill!
The task

The solution:

No comments:
Post a Comment