Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python iterate through list

my_items = ['item1', 'item2', 'item3']

for item in my_items:
	print(item)
Source by www.askpython.com #
 
PREVIOUS NEXT
Tagged: #python #iterate #list
ADD COMMENT
Topic
Name
9+6 =