While loops

A `while` loop tests its condition before every pass and stops when it is `False`, so something in the body has to move the condition towards `False`, or the loop never ends.

From Introduction to Computer Science.