Thanks to code.org for this video!
Repeating a part of your program is a very common practice in programming. We'll call this looping, and there many different blocks you can use to do it in many different ways.
The
block is
appropriate if you want to repeat the same behavior for... ever.
The
block is
great if you want to loop
the same behavior a certain number of times.
Many such situations can be handled by the for
block in the Control palette: