主页
Python
Python - 移除指定项
demo_list_pop2
运行 ❯
×
更改方向
保存代码
更改主题
thislist = ["apple", "banana", "cherry"] thislist.pop(1) print(thislist)
['apple','cherry']