Run
# Take two sets set_1 = {'a', 'b', 'c', 'd'} list_1 = ['a', 'm', 'k'] # Find the symmetric difference of the set and list symm_diff_output = set_1.symmetric_difference(list_1) print(symm_diff_output)
Output