Computer Science, asked by archanashukla94563, 3 months ago

make programs

please give answer
no spam​

Attachments:

Answers

Answered by SamidhaBartakke
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