Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

for enumerate python

for key, value in enumerate(["p", "y", "t", "h", "o", "n"]):
    print key, value

"""
0 p
1 y
2 t
3 h
4 o
5 n
"""
Source by devfuria.com.br #
 
PREVIOUS NEXT
Tagged: #enumerate #python
ADD COMMENT
Topic
Name
4+6 =