源代码
thislist = ["apple", "banana", "cherry"] thislist.remove("banana") print(thislist)
运行结果