0x00list 和 set 相关操作? 0x01 列表去重 12a = [1,2,3,3]list = list(set(a)) 集合的运算 123456a = {1,2,3,3}b = {3,4,5}#交集 {3}a.intersection(b)#并集 {1, 2, 3, 4, 5}a.union(b)