📜  什么是 pypy - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:24.931000             🧑  作者: Mango

代码示例2
list1 = ['Scott', 'Eric', 'Kelly', 'Emma', 'Smith']
list2 = ['Scott', 'Eric', 'Kelly']

set1 = set(list1)
set2 = set(list2)

list3 = list(set1.symmetric_difference(set2))
print(list3)