【python笔记系列】列表的基本使用04

 时间:2024-10-25 16:17:06

1、apend()函数(末尾追加)

【python笔记系列】列表的基本使用04

2、extend()函数(列表合并)

【python笔记系列】列表的基本使用04

3、insert()函数(指定位置插入)

【python笔记系列】列表的基本使用04

4、.remove函数,删除列表中第一次出现的元素,如果没找到就报异常

【python笔记系列】列表的基本使用04

5、.pop()函数,删除最后一个元素

【python笔记系列】列表的基本使用04

6、.pop()指定删除

【python笔记系列】列表的基本使用04

7、.reverse()改变结构

【python笔记系列】列表的基本使用04
  • 【python笔记系列】列表的基本使用02
  • 【python笔记系列】数据类型
  • python列表的创建与删除
  • python列表排序方法
  • Python基本数据类型的使用
  • 热门搜索
    梦见大蛇是什么意思 6月24日是什么星座 闻鸡起舞是什么意思 指压是什么 厚积薄发什么意思 since是什么意思 可恶的近义词是什么 机电一体化是什么 99朵玫瑰代表什么意思 imdb是什么