主页
Python
Python List pop() 方法
demo_ref_list_pop
运行 ❯
×
更改方向
保存代码
更改主题
fruits = ['apple', 'banana', 'cherry'] fruits.pop(1) print(fruits)
['apple', 'cherry']