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.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #python #iterate #list
ADD COMMENT
Topic
Name
6+2 =