摘要: dic = [1,2,3,4,5] for a,b in enumerate(dic): print(a,b) # a就是索引 b是元素 阅读全文
posted @ 2018-07-12 17:00 Niuli'blog 阅读(274) 评论(0) 推荐(0) 编辑