python学习 -- 列表

添加新的元素

append()

insert()

extend()

删除元素

pop()----------------------->删除最后一个

remove()-------------------->根据内容删除

del XXX[下标]------------->根据下标删除

修改

xxx[下标]=new值

查找

in

not in

猜你喜欢

转载自blog.csdn.net/visoprkx/article/details/82560790