I have a list of sets:

setlist = [s1,s2,s3...]

I want s1 ∩ s2 ∩ s3 …

I can write a function to do it by performing a series of pairwise s1.intersection(s2), etc.

Is there a recommended, better, or built-in way?

7 Answers
7

Leave a Reply

Your email address will not be published. Required fields are marked *