leap year by Vim Lover

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