Skip to content

Instantly share code, notes, and snippets.

@acrymble
Created June 30, 2011 13:06
Show Gist options
  • Select an option

  • Save acrymble/1056191 to your computer and use it in GitHub Desktop.

Select an option

Save acrymble/1056191 to your computer and use it in GitHub Desktop.
Python Elif
if char == '<':
# do something
elif char == '>':
# do another thing
else:
# do something completely different
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment