Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

loop over each element in list python

my_list = [1, 2, 3]
for i in my_list:
	# do something here
    print(i)
 
PREVIOUS NEXT
Tagged: #loop #element #list #python
ADD COMMENT
Topic
Name
5+9 =