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