del 关键字会删除指定索引的项:
删除第一项:
fruitlist = ["apple", "banana", "cherry"]del fruitlist[0]print(fruitlist)
执行结果:
['banana', 'cherry']