enumerate(iterable[, start]) 遍历一个序列的元素及其索引
In [261]: for i, value in enumerate(['a', 'b', 'c']):
.....: print i, value
.....:
0 a
1 b
2 c