Python · While loops

Repeat while a condition holds

A countdown, a running total and a retry all repeat the same lines, and a while loop says how long to keep going.