Created
June 12, 2009 14:57
-
-
Save jroo/128680 to your computer and use it in GitHub Desktop.
returns session number of Congress for a provided year
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
#returns session number of Congress for a provided year | |
def session_from_year(year): | |
return 2 - (year % 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment