0
Python programme for leap years .
1 Resposta
0
year = int(input("Enter year you want to check:"))
if (( year%400 == 0) or (( year%4 == 0 ) and ( year%100 != 0))):
print(year)
print("Is a leap year")
else:
print(year)
print("is not a leap year")