主页
Python
Python 集合
demo_set_union
运行 ❯
×
更改方向
保存代码
更改主题
set1 = {"a", "b" , "c"} set2 = {1, 2, 3} set3 = set1.union(set2) print(set3)