Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python for loop

for number in range(1, 6):	# For each number between 1-6 (not including 6)
  print(number)
  
myList = ["a", "b", "c"]
for element in myList:
  print(element)
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #Python #loop
ADD COMMENT
Topic
Name
4+8 =