python列表的增删查改
添加新的元素
append()
insert()
extend()
+号
删除元素
pop()
remove()
del xxx[index]
修改
xxx[index] = value
查找
in、not in
if value in arr:
......
添加新的元素
append()
insert()
extend()
+号
删除元素
pop()
remove()
del xxx[index]
修改
xxx[index] = value
查找
in、not in
if value in arr:
......