摘要: >>> a = [1, 2, 3] >>> for index, item in enumerate(a): print index, item 0 1 1 2 2 3 >>> b = (1, 2, 3) >>> for index, item in enumerate(b): print index, item 0 1 1 2 2 3 >>> c = {'a':... 阅读全文
posted @ 2016-03-23 00:12 jihite 阅读(1875) 评论(2) 推荐(1) 编辑