Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python loop list

list = [1, 3, 5, 7, 9] 

# with index   
for index, item in enumerate(list): 
    print (item, " at index ", index)
 
PREVIOUS NEXT
Tagged: #python #loop #list
ADD COMMENT
Topic
Name
1+2 =