list1 = [10 3 -5 2 8 0 5 -15 9]list2=[10 6 4 8 2 -5 9 0 100]set1 = set(list1)set2 = set(list2)print(set1&set2) //找出相同元素
print(set1^set2) //找出不同元素