差集:list(set(a).difference(set(b))) 交集:list(set(a).intersection(set(b))) 并集:list(set(a).union(set(b)))