ile loop that didn&apos;t run properly.
The programmer has to make a variable to pass to the condition, make sure the condition is written out correctly, and then make sure the condition can be changed so the loop can eventually end.
This many steps each time we want to write a simple loop leaves us prone to errors and wasting our time.
With <em>for loops</em>, we can tell a loop exactly how many times we want it to run and skip all these steps.</p>
<h2 id="numeric-for-loops">Numeric for loops</h2>
<pre><co