Skip to content

Instantly share code, notes, and snippets.

@gnuvince
Created February 6, 2009 02:16
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 gnuvince/59176 to your computer and use it in GitHub Desktop.
Save gnuvince/59176 to your computer and use it in GitHub Desktop.
>>> s1 = set(["a", "b", "c"])
>>> s2 = set(["a"])
>>> s1 - s2
set(['c', 'b'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment