Skip to content

Instantly share code, notes, and snippets.

@abunsen
Created June 16, 2010 10:28
Show Gist options
  • Save abunsen/440441 to your computer and use it in GitHub Desktop.
Save abunsen/440441 to your computer and use it in GitHub Desktop.
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