Skip to content

Instantly share code, notes, and snippets.

@marcuswestin
Created November 17, 2014 19:28
Show Gist options
  • Save marcuswestin/d82673de1c5b73ed4eaa to your computer and use it in GitHub Desktop.
Save marcuswestin/d82673de1c5b73ed4eaa to your computer and use it in GitHub Desktop.
a = (1,2)
foo = set()
a in foo
foo.add(a)
a in foo
(1,2) in foo
(2,1) in foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment