#Student Number: GPXSHI001
#LEAP YEAR OR NOT
#12/03/2014

year=eval(input("Enter a year:\n"))

if(year%400 == 0 or (year%4==0 and year%100 !=0)): print(year,"is a leap year.")

else: print(year,"is not a leap year.")
859ef5d80430c802cce89a72cc0c0c4d0163fcb0
<mask token>

<mask token>
if year % 400 == 0 or year % 4 == 0 and year % 100 != 0:
    print(year, 'is a leap year.')
else:
    print(year, 'is not a leap year.')

year = eval(input('Enter a year:\n'))
if year % 400 == 0 or year % 4 == 0 and year % 100 != 0:
    print(year, 'is a leap year.')
else:
    print(year, 'is not a leap year.')

#Student Number: GPXSHI001
#LEAP YEAR OR NOT
#12/03/2014

year=eval(input("Enter a year:\n"))

if(year%400 == 0 or (year%4==0 and year%100 !=0)): print(year,"is a leap year.")

else: print(year,"is not a leap year.")