About 1,650,000 results
Open links in new tab
  1. JavaScript For Loop - W3Schools

    For Loops are fundamental for tasks like performing an action multiple times. The for statement creates a loop with 3 optional expressions: exp 1 is executed (one time) before the execution of the code …

  2. For loop in Programming - GeeksforGeeks

    Jul 23, 2025 · For loop is a control flow statement in programming that allows you to execute a block of code repeatedly based on a specified condition. It is commonly used when you know how many …

  3. For loop - Wikipedia

    In computer programming, a for loop is a structured control flow statement that repeatedly runs a section of code until a condition is satisfied. A for loop has two parts: a header and a body.

  4. ForLoop - Python Wiki

    for loops are used when you have a block of code which you want to repeat a fixed number of times. The for-loop is always used in combination with an iterable object, like a list or a range. The Python …

  5. for - JavaScript | MDN - MDN Web Docs

    Jul 8, 2025 · You can create two counters that are updated simultaneously in a for loop using the comma operator. Multiple let and var declarations can also be joined with commas.

  6. JavaScript For Loop – Explained with Examples

    May 27, 2022 · The for loop is an iterative statement which you use to check for certain conditions and then repeatedly execute a block of code as long as those conditions are met.

  7. Python For Loop - Syntax, Examples

    Python For Loop can be used to iterate a set of statements once for each item of a sequence or collection. The sequence or collection could be Range, List, Tuple, Dictionary, Set or a String. In this …

  8. JavaScript for loop (with Examples) - Programiz

    In JavaScript, the for loop is used for iterating over a block of code a certain number of times or over the elements of an array. In this tutorial, you will learn about the JavaScript for loop with the help of …

  9. What is a for loop in python? | IBM

    What is a for loop? A for loop is a programming construct that allows a block of code to be ran repeatedly until a certain condition is met. The for loop works by running the code within its scope …

  10. Programming - For Loop - University of Utah

    A "For" Loop is used to repeat a specific block of code a known number of times. For example, if we want to check the grade of every student in the class, we loop from 1 to that number. When the …