Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to create a for loop in python

my_list = [1,2,3]
for number in my_list:
	print(number)
#outputs
#1
#2
#3
Source by localhost #
 
PREVIOUS NEXT
Tagged: #create #loop #python
ADD COMMENT
Topic
Name
9+3 =