Skip to content

Commit 99b59b0

Browse files
committed
Leap year completed
1 parent d3f7a2d commit 99b59b0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎LeapYear.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Write your logic here
2+
if year % 4 == 0 and (year % 400 == 0 or year % 100 != 0):
3+
leap = True
4+
5+
return leap

0 commit comments

Comments
 (0)