摘要: 介绍list的基本用法,栈和队列在list中的模拟 # 数据结构 list items = [] print(type(items)) <class 'list'> items = [1,2,4] print(items[2]) 4 # 索引 = 列表.index(元素) letters = ['a 阅读全文
posted @ 2021-02-03 11:58 HelloCoderRookie 阅读(48) 评论(0) 推荐(0) 编辑