Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python index list enumerate

my_list = [21, 44, 35, 11]

for index in range(len(my_list)):
    value = my_list[index]
    print(index, value)
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #index #list #enumerate
ADD COMMENT
Topic
Name
8+4 =