Skip to content

Instantly share code, notes, and snippets.

@last-ent
Created April 17, 2014 16:20
Show Gist options
  • Select an option

  • Save last-ent/10995597 to your computer and use it in GitHub Desktop.

Select an option

Save last-ent/10995597 to your computer and use it in GitHub Desktop.
rsts_set = [set(i) for i in rsts_slist]
x = rsts_set[0]
for rst in rsts_set:
x = rst.intersection(x)
y = reduce ( set.intersection, rsts_set)
z = rsts_set[0].intersection(*rsts_set[1:])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment