主页
Python
Python 集合
demo_set_update
运行 ❯
×
更改方向
保存代码
更改主题
thisset = {"apple", "banana", "cherry"} thisset.update(["orange", "mango", "grapes"]) print(thisset)