checking given year is leap year or not
🚨 Don't change the code below 👇
year = int(input("Which year do you want to check? "))
🚨 Don't change the code above 👆
#Write your code below this line 👇
if year%4 ==0:
if year%100 ==0:
if year%400==0:
print ("leap year")
else:
print ("not leap year")
else:
print ("leap year")
else:
print("not leap year")
Voters