You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (year % 400 == 0 or (year%4==0 and year%100!=0)): #For a year to be leap year, it is necessary that it is divisible by 4 and 400 but not by 100 only.