About 50 results
Open links in new tab
  1. Python For Loops - W3Schools

    Python For Loops A for loop is used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or a string). This is less like the for keyword in other programming languages, and …

  2. Java For Loop - W3Schools

    Java For Loop When you know exactly how many times you want to loop through a block of code, use the for loop instead of a while loop:

  3. C# For Loop - W3Schools

    C# For Loop When you know exactly how many times you want to loop through a block of code, use the for loop instead of a while loop:

  4. C++ For Loop - W3Schools

    C++ For Loop When you know exactly how many times you want to loop through a block of code, use the for loop instead of a while loop:

  5. PHP Loops - W3Schools

    PHP Loops PHP loops are used to execute the same block of code again and again, as long as a certain condition is true. In PHP, we have the following loop types: while - loops through a block of code as …

  6. JavaScript While Loop - W3Schools

    The While Loop The while loop loops through a block of code as long as a specified condition is true.

  7. C For Loop - W3Schools

    For Loop When you know exactly how many times you want to loop through a block of code, use the for loop instead of a while loop:

  8. Java While Loop - W3Schools

    Note: A while loop may never run if the condition is false from the start. In the next chapter, you will learn about the do while loop, which always runs the code at least once before checking the condition.

  9. JavaScript Tutorial - W3Schools

    W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

  10. What is a Loop? - W3Schools

    What is a Loop? A loop runs the same code over and over again, as long as the condition is true. The simulation below uses a loop to roll dice until the result is 6, counting how many times the dice was …