Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to loop

for _ in range(1,10,2): #(initial,final but not included, gap) (the "_" underscore symbol mean there are no variables initialize in this loop)
	print("hi");
Source by courses.ms.wits.ac.za #
 
PREVIOUS NEXT
Tagged: #python #loop
ADD COMMENT
Topic
Name
9+3 =