leap year by hirose

while 1:n=input();print`n`,"is",(n%100-n%4*n<=0<n%400)*"not "+"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