while 1:n=input();print n,"is",'not '*[n%400>0,n%4>0][n%100>0]+"a leap year."

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

download

return to the top page