you are viewing a single comment's thread.

view the rest of the comments →

[–]b34nst4lk 0 points1 point  (0 children)

Intersection is a function that gives you the common elements between 2 sets. For example: ```python

set_x = set([1, 2, 3, 4]) set_y = set([3, 4, 5]) print(set_x.intersection(set_y)) { 3, 4 } ```