Skip to content

Instantly share code, notes, and snippets.

@abunsen
Created June 16, 2010 10:30
Show Gist options
  • Save abunsen/440444 to your computer and use it in GitHub Desktop.
Save abunsen/440444 to your computer and use it in GitHub Desktop.
if mynumber < 5:
print 'my number is less than 5'
elif mynumber > 5:
print 'my number is greater than 5'
elif mynumber > 5 AND mynumber < 10:
print 'my number is greater than 5 and less than 10'
else:
print 'my number is greater than 10 or not a number at all'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment