We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6bfd0d commit 47e6a3aCopy full SHA for 47e6a3a
exam1/gregorian_cal_utils.py
@@ -5,4 +5,7 @@ def is_leap_year(year: int) -> bool:
5
:param year: an integer indicating a year.
6
:return: A boolean indicating whether or not the year parameter is a leap year.
7
"""
8
+ if year%4==0 and (year%400==0 or year%100!=0):
9
+ return True
10
+ return False
11
pass # implement me
0 commit comments