主页
Python
Python 集合
demo_set_pop
运行 ❯
×
更改方向
保存代码
更改主题
thisset = {"apple", "banana", "cherry"} x = thisset.pop() print(x) #removed item print(thisset) #the set after removal