Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

enumerate python

list_of_values = ['a', 'b', 'c']

for index, value in enumerate(list_of_values):
  print(f"Index: {index}. Value: {value}"
Source by devfuria.com.br #
 
PREVIOUS NEXT
Tagged: #enumerate #python
ADD COMMENT
Topic
Name
7+3 =