摘要: 一、列表LIST 列表的下标是从0开始的,最后一个元素的下标可以用 -1,取元素的时候”顾头不顾尾“。定义如下列表: names = ["Alex","Tenglan","Eric","Rain","Tom","Amy"] 1、切片: 1 >>> names = ["Alex","Tenglan", 阅读全文
posted @ 2019-12-23 17:48 飞鸽子 阅读(231) 评论(0) 推荐(0) 编辑