1 00:00:00,162 --> 00:00:02,845 Computers are really good at repeating actions. 2 00:00:03,052 --> 00:00:07,742 You can count to ten, twenty ore one hundred... 3 00:00:07,742 --> 00:00:11,422 But a computer can count to a billion or even a trillion. 4 00:00:11,422 --> 00:00:14,681 It won't get bored and it will only take a few seconds. 5 00:00:15,446 --> 00:00:22,107 Where it's countingor drawing or anything, Computer can repeat things hundreds or even billions of times. 6 00:00:22,282 --> 00:00:25,895 In programming, we call this a loop. 7 00:00:25,981 --> 00:00:30,065 A loop is how you repeat your code over and over again. 8 00:00:30,190 --> 00:00:35,761 For the next puzzle, your goal is to help Anna to create a square with the repeat block. 9 00:00:35,855 --> 00:00:42,822 Any blocks you put inside a repeat block, will be repeated in sequence, as many times as you want. 10 00:00:42,977 --> 00:00:48,196 To draw a square, you can use the "move forward" and "turn" block 4 times. 11 00:00:48,281 --> 00:00:58,114 The easier way is to tell the computer to move forward and turn by 90 degrees once and then tell the computer to repeat these actions four times. 12 00:00:59,064 --> 00:01:04,414 To do that, you need to place the move forward and the turn right in a repeat block. 13 00:01:04,414 --> 00:01:11,341 Remember, you can change the number in the repeat-block to anything, and it will repeat the actions in the block that many times.