Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python for loop

for i in range(1,10,2): #(initial,final but not included,gap)
  print(i); 
  #output: 1,3,5,7,9
  
Source by www.pythontutorial.net #
 
PREVIOUS NEXT
Tagged: #python #loop
ADD COMMENT
Topic
Name
4+6 =