Skip to content

Instantly share code, notes, and snippets.

@pjrobertson
Created October 31, 2012 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjrobertson/3987551 to your computer and use it in GitHub Desktop.
Save pjrobertson/3987551 to your computer and use it in GitHub Desktop.
a = ['a','b','c','d']
b = ['1','2','3','b']
for aLet in a:
for bLet in b:
if aLet is bLet:
print 'they are the same!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment