Question: what is the difference between inner loop and outer loop?
Answer: Inner and Outer Loops. The "print a line of stars" loop is called an inner loop because it is the loop body of another loop. The "do something five times" loop is called an outer loop because it is not inside any other loop.