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