demo_ref_set_intersection2.py:
x = {"a", "b", "c"} y = {"c", "d", "e"} z = {"f", "g", "c"} result = x.intersection(y, z) print(result)
C:\Users\My Name>python demo_set_intersection2.py
{'c'}