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