how to enumerate through a string in python 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