Sweet! The for loop simply runs from 1
to 4
. The while loop, however, restarts in every iteration of the for loop, running four times from x
to 4
.
Psst: don't worry you can't wrap your head around nested loops yet. You'll get the hang of it!
Does the nested loop really look like a for loop?