python enumerate

当须要遍历和索引列表时使用 python

for index,text in enumerate(list_):
    print index,text
相关文章
相关标签/搜索