Created
March 17, 2014 15:17
-
-
Save takuma7/9601148 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf8 | |
def isLeapYear(x): | |
return x%4 == 0 and x%100 != 0 or x%400 == 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment