►
Run
x = {'apple', 'banana', 'cherry'} y = {'cherry', 'kiwi'} x.symmetric_difference_update(y) print(x)
Output