方法:方法与函数一样,只是调用在一个值上。 index()/append()/insert()/remove()/sort()/ 删除列表中的值,del语句 del spam[2] 转载于:https://www.cnblogs.com/hyeTi/p/9414259.html