demo_ref_set_symmetric_difference.py:
x = {"apple", "banana", "cherry"} y = {"google", "microsoft", "apple"} z = x.symmetric_difference(y) print(z)
C:\Users\My Name>python demo_set_symmetric_difference.py