Skip to content

Instantly share code, notes, and snippets.

@jroo
Created June 12, 2009 14:57
Show Gist options
  • Save jroo/128680 to your computer and use it in GitHub Desktop.
Save jroo/128680 to your computer and use it in GitHub Desktop.
returns session number of Congress for a provided year
#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