Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python loop

for i in [1,3,5,54,5683]:
  print(i+1)
  #This is a simple program which prints the 
  #successor of all numbers in the list.
  #Loops are amazing! Here, 'i' is an
  #iteration variable which means it changes
  #with every next step on to the loop!
  #so i is 1 at one point and 3 in the next!
  #You can learn more @ https://python.org
  #:)
Source by www.datacamp.com #
 
PREVIOUS NEXT
Tagged: #python #loop
ADD COMMENT
Topic
Name
5+3 =