From Python version 2.6 on you can utilize numerous arguments to set.intersection(), like
u = set.intersection(s1, s2, s3)
In case, if the sets are in lists, then this will translate to:
u = set.intersection(*setlist)
Here. *a_list is a list expansion
Note that set.intersection is certifiably not static method, however this uses the useful notation to apply convergence of the first set with the remainder of the list. So if the argument list is vacant this will fizzle.
Are you interested to learn the concepts of python? Join the python training course fast!