def get_dif_key_list():
list1 = [1, 2, 3]
list2 = [2, 3, 4]
result = []
s1 = set(list1)
s2 = set(list2)
#以list1为主,list2中缺少的 [1]
s = s1.difference(s2)
print(s)
#s1 s2中不同的地方
s = s1.symmetric_difference(s2)
print(s)
# s1 s2中相同的地方
s = s1.intersection(s2)
print(s)
#合并两个set
s = s1.union(s2)
print(s)
#s1是不是s2的子集
s=s1.issubset(s2)
print(s)
# s1是不是s2的超集
s = s1.issuperset(s2)
print(s)
return s1.symmetric_difference(s2)