leap year by govind

while 1:x=input();print x,'is',['a','not a'][x%4>0 or(x%400>0 and x%100<1)],'leap year.'

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

download

return to the top page