python enumerate string type? code example
Example: enumerate string pythonm
>>> for i, c in enumerate('test'):
... print i, c
...
0 t
1 e
2 s
3 t
>>> for i, c in enumerate('test'):
... print i, c
...
0 t
1 e
2 s
3 t