Run
# Take two sets set_1 = {'a', 'b', 'c', 'd'} set_2 = {'a', 'b', 'd', 'm'} # Find the intersection of sets set_output = set_1.intersection(set_2) print(set_output)
Output