leap year by shinh

while 1:
 _=input()
 print _,'is%s a leap year.'%' not'[4-(_%4or(_%16>0)>_%50)*4:]

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

download

return top