make programs
please give answer
no spam
Attachments:
Answers
Answered by
1
Answer:
year = int(input("Enter year:"))
if year % 4 == 0:
if year % 100 == 0:
if year % 400 == 0:
print("Yes, {} is Leap Year".format(year))
else:
print("No, {} is Leap Year".format(year))
else:
print("No, {} is Leap Year".format(year))
else:
print("No, {} is Leap Year".format(year))
Similar questions