[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:00.16,0:00:02.84,Default,,0000,0000,0000,,Computers are really good at repeating actions. Dialogue: 0,0:00:03.05,0:00:07.74,Default,,0000,0000,0000,,You can count to ten, twenty ore one hundred... Dialogue: 0,0:00:07.74,0:00:11.42,Default,,0000,0000,0000,,But a computer can count to a billion or even a trillion. Dialogue: 0,0:00:11.42,0:00:14.68,Default,,0000,0000,0000,,It won't get bored and it will only take a few seconds. Dialogue: 0,0:00:15.45,0:00:22.11,Default,,0000,0000,0000,,Where it's countingor drawing or anything, \NComputer can repeat things hundreds or even billions of times. Dialogue: 0,0:00:22.28,0:00:25.90,Default,,0000,0000,0000,,In programming, we call this a loop. Dialogue: 0,0:00:25.98,0:00:30.06,Default,,0000,0000,0000,,A loop is how you repeat your code over and over again. Dialogue: 0,0:00:30.19,0:00:35.76,Default,,0000,0000,0000,,For the next puzzle,\Nyour goal is to help Anna to create a square with the repeat block. Dialogue: 0,0:00:35.86,0:00:42.82,Default,,0000,0000,0000,,Any blocks you put inside a repeat block, \Nwill be repeated in sequence, as many times as you want. Dialogue: 0,0:00:42.98,0:00:48.20,Default,,0000,0000,0000,,To draw a square, you can use the "move forward" and "turn" block 4 times. Dialogue: 0,0:00:48.28,0:00:58.11,Default,,0000,0000,0000,,The easier way is to tell the computer to move forward and turn by 90 degrees once \Nand then tell the computer to repeat these actions four times. Dialogue: 0,0:00:59.06,0:01:04.41,Default,,0000,0000,0000,,To do that, you need to place the move forward and the turn right in a repeat block. Dialogue: 0,0:01:04.41,0:01:11.34,Default,,0000,0000,0000,,Remember, you can change the number in the repeat-block to anything, and it will repeat the actions in the block that many times.