Perhaps the most useful (and most common) use of
for loops is to go through a list.
On each iteration, the variable
num will be the next value in the list. So, the first time through, it will be
7, the second time it will be
99, and then the loop will exit when there are no more values in the list.
Write a second
for loop that goes through the
numbers list and prints each element squared, each on its own line.