Awesome job! for loops are great, but they have a limitation: you have to know how many times you want the loop to run. What if you want a loop to execute an unknown or variable number of times instead?
That's the purpose of the while loop. It looks similar to a for loop. See the example below.