编辑器
set1 = {"apple", "banana", "cherry"} set2 = {"google", "microsoft", "apple"} set3 = set1 ^ set2 print(set3)
{'google', 'banana', 'microsoft', 'cherry'}