编辑器
a = frozenset({1, 2}) b = frozenset({2, 3}) print(a.union(b)) print(a | b)
frozenset({1,2,3})
frozenset({1,2,3})