Leap Year by BugCreators

initial_year = 2000\x0d
n = int(input())\x0d
\x0d
for year in range(initial_year, n + 1):\x0d
    if (year % 4) == 0:\x0d
        if (year % 100) == 0:\x0d
            if (year % 400) == 0:\x0d
                print(year)\x0d
        else:\x0d
            print(year) 

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page