an></code></pre></div>
<p>If you can follow the examples above, you’ll be in a good spot to begin writing some of your own for loops. That said there are other types of loops available to you.</p>
</div>
<div id="while-loop" class="section level3 hasAnchor" number="7.5.2">
<h3><span class="header-section-number">7.5.2</span> While loop<a href="loops.html#while-loop" class="anchor-section" aria-label="Anchor link to header"></a></h3>
<p>Another type of loop that you may use (albeit less frequently) is the 