Skip to content

Instantly share code, notes, and snippets.

@imsickofmaps
Created August 23, 2012 15:10
Show Gist options
  • Save imsickofmaps/3437580 to your computer and use it in GitHub Desktop.
Save imsickofmaps/3437580 to your computer and use it in GitHub Desktop.
all in list test
allin = True
present = ["harry", "bob", "nancy"]
required = ["bob","harry","fred"]
for x in required:
if x not in present:
allin = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment