We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09f644f commit 142f7a9Copy full SHA for 142f7a9
LeapYear.py
@@ -0,0 +1,8 @@
1
+def CheckLeap(year):
2
+ if (year%4==0 and year%100!=0) or (year%400==0):
3
+ print(year,"is a Leap Year")
4
+ else:
5
+ print(year,"is not a Leap Year")
6
+
7
+year = int(input("Enter the year: "))
8
+CheckLeap(year)
0 commit comments