Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Leap Year Checking by Tinus_Trotyl
def is_leap_year(year: int) -> bool:
return (year % 4 == 0) and (not year % 100 == 0) or (year % 400 == 0)
Dec. 1, 2023
Comments: