how best do I find the intersection of multiple sets in python?
- by user116293
I have a list of sets:
setlist = [s1,s2,s3...]
I want s1 n s2 n s3 ...
I can write a function to do it by performing a series of pairwise s1.intersection(s2), etc., but is there a recommended, better, or built-in way?