Last updated 5 years ago
Was this helpful?
Nested loops are loops used inside the body of another loop – loops can contain any code including another loop. The inner loops will run all of its iterations each time the outer loop runs.
This example draws multiple squares.