Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python for loop with increment

lis = [1, 2, 3, 4, 5]
for i in range(len(lis)):
  print(lis[i])
  i+=1
 
PREVIOUS NEXT
Tagged: #python #loop #increment
ADD COMMENT
Topic
Name
3+8 =