Back
It is the best way to find the intersection of multiple sets in Python.
u = set.intersection(k1, k2, k3)
If the sets are in a list, this translates to:
u = set.intersection(*setlist)
31k questions
32.8k answers
501 comments
693 users