Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python loop

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