0

Python programme for leap years .

24th Aug 2016, 8:12 AM
hema
1 Answer
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")
25th Aug 2016, 1:12 AM
Fasih
Fasih - avatar