📜  Python 删除列表项 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:03.384000             🧑  作者: Mango

代码示例1
thislist = ["apple", "banana", "cherry"]
thislist.remove("banana")
print(thislist)