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