Prime Dates

  • + 0 comments

    Python3: Stupid question. Took me a while to learn the formula for leap year

    Line 6:

            month[2] = 29
    

    Line 8:

            month[2] = 28
    

    Line 35:

            x = x * 10000 + y1
    

    Line 36:

            if x % 4 == 0 or x % 7 == 0:
    

    Line 47:

                    m1 = 1