Beginner Coding with Blocks
Chapter 4
>
Level 2
Loops and Repetition
For Loop
Objective
Walk through the hedge maze to reach exit using a repeat block with no more than six (6) blocks.
In order to get through the maze using no more than 6 blocks, you need to use the repeat block. This is similar to while loop blocks but functions a bit different, repeat blocks repeat a predefined number of times rather than using a condition like count when using the while loop blocks.

The block editor will have the move forward block and the turn left block, repeated four (4) times using the repeat block. Add the missing move forward and turn left blocks into the repeat block that will allow you to clear the maze and reach the star at the end of the level.

Code book