Created
June 16, 2010 10:28
-
-
Save abunsen/440441 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
MYLIST = [1, 3, 5, 7, 9] | |
if 4 in MYLIST: | |
print 'This number is less than 10 & odd' | |
else: | |
print 'This number is NOT in the list of numbers less than 10 which are odd' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment