Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

for loop

//for iterating a certain number of times
for(j = 0; j < 20; j++){
  console.log(`do something for ${j + 1} time(s)`)
}
console.log("End of For loop")
 
PREVIOUS NEXT
Tagged: #loop
ADD COMMENT
Topic
Name
4+6 =