set().intersection(*[[1,2,3], [2,3,4]])
of course itβs empty because you start with an empty set and intersect it with all the others
You can try calling the method on class
set.intersection(*[[1,2,3], [2,3,4]])
but this will not work, because the first argument passed must be a set
set.intersection({1, 2, 3}, *[[2,3,4], ...])
It looks awkward, better if you can use the list of sets in the first place. Especially if they come from a generator, which makes it difficult to clean the first element.
set.intersection(*[{1,2,3}, {2,3,4}])
Otherwise, you can just do them all in sets
set.intersection(*(set(x) for x in [[1,2,3], [2,3,4]]))