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