Python lets us easily create loops within loops. There’s only one catch: the inner loop will always complete before the outer loop.
For each iteration of the outer loop, the iterator in the inner loop will complete its iterations for the given range, after which the outer loop can move to the next iteration.