[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:00.00,0:00:02.92,Default,,0000,0000,0000,,Computers are really good at repeating actions. Dialogue: 0,0:00:03.32,0:00:07.74,Default,,0000,0000,0000,,You can count to ten, or twenty or 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.79,Default,,0000,0000,0000,,It won't get bored and it will only take a few seconds. Dialogue: 0,0:00:15.62,0:00:22.28,Default,,0000,0000,0000,,Whether it's counting or drawing or anything, \NComputers can repeat things hundreds or even billions of times. Dialogue: 0,0:00:22.28,0:00:25.96,Default,,0000,0000,0000,,In programming, we call this a loop. Dialogue: 0,0:00:25.98,0:00:30.18,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.86,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.98,Default,,0000,0000,0000,,Any blocks of code 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.28,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.53,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 turn right in a repeat block. Dialogue: 0,0:01:04.41,0:01:11.55,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. Dialogue: 0,0:01:12.11,0:01:16.62,Default,,0000,0000,0000,,[ Anna draws a square with her Foot ]