Answers for "enumerate string python"

1

enumerate string pythonm

>>> for i, c in enumerate('test'):
...     print i, c
... 
0 t
1 e
2 s
3 t
Posted by: Guest on November-09-2020

Python Answers by Framework

Browse Popular Code Answers by Language