While

While loops are similar to for loops but it can be easier (or sometimes the only way) to determine how many times the loop should go.

Example 1