Python Function Reference

intersection
Return a new set with elements common to the set and all others.
Python 3.13
set.intersection(*others)
*others
Other sets.
Examples
Python 3.13
>>> {1, 2, 3}.intersection({2, 3, 4})
{2, 3}