list 列表
作者: 编辑: 莫烦 发布于: 2016-01-01
List 添加¶
列表是一系列有序的数列,有一系列自带的功能, 例如:
在指定的地方添加项:
List 移除¶
删除项:
List 索引¶
显示特定位:
打印列表中的某个值的索引(index):
统计列表中某值出现的次数:
List 排序¶
对列表的项排序:
Content-Length: 67978 | pFad | https://mofanpy.com/tutorials/python-basic/basic/list
Fetched URL: https://mofanpy.com/tutorials/python-basic/basic/list
Alternative Proxies: