摘要: 一:列表: names=["4ZhangYang","Guyun","xXiangPeng",["alex","jack"],"ChenRonghua","XuLiangchen"] print(names[1:3])#切片顾手不顾尾,取出第二/三个 print(names[3])#切片取第四个 print(names[-2:])#切片取最后两个 #增加: names.append("L... 阅读全文
posted @ 2019-08-14 12:44 忆凡人生 阅读(318) 评论(0) 推荐(0) 编辑