leap year by purintai

while 1:y=input();print"%d is %sa leap year."%(y,(y%(4if y%50 else 16)and 1)*"not ")

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

download

return to the top page