Created
June 16, 2010 10:30
-
-
Save abunsen/440444 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
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