leap year by tabasa

import calendar\x0d
def f(a):\x0d
 if calendar.isleap(a):w="a"\x0d
 else:w="not a"\x0d
 return w\x0d
while 1:\x0d
 a=input()\x0d
 print a,"is",f(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