Skip to content

Instantly share code, notes, and snippets.

@gnuvince
Created February 6, 2009 02:16
Show Gist options
  • Select an option

  • Save gnuvince/59176 to your computer and use it in GitHub Desktop.

Select an option

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