(year)
return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
Return True for leap years, False for non-leap years.
Return True for leap years, False for non-leap years.
Return True for leap years False for non - leap years .
def isleap(year):
    """Return True for leap years, False for non-leap years."""
    return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
def isleap ( year ) : return year % 4 == 0 and ( year % 100 != 0 or year % 400 == 0 )