CodePlay ?

Home

Unit ยท repetition

Loop Rover

A rover follows your Python commands: move(), turn_left() and turn_right(). Typing move() ten times works, but a for loop says it once. In this unit you read loops, fix them and write your own, first with the rover and then without it.

0 / 7 done

  1. 1 Where will it stop?๐Ÿ”ฎ Predict
  2. 2 Build the loop๐Ÿงฉ Parsons
  3. 3 Step through the loop๐Ÿ‘ฃ Trace
  4. 4 One number to change๐Ÿ”ง Modify
  5. 5 Fix the rover๐Ÿž Debug
  6. 6 Sum the multiplesโœ๏ธ Write
  7. 7 Plot the pointsโœ๏ธ Write