• + 2 comments

    That exactly is not the case. Try to run following code in interpreter:

    def is_leap(year):

    return (not(year%4) and ((year%100) or not(year%400)))
    

    Invoke it using

    is_leap(1464)

    It returns 64 instead of True. Thats because the expression (year%100) returns 64