Loops: for and range · exercise 1 of 1 · free preview
The game so far · chapter 4
Right now: The map is not online yet.
This chapter's mission: Lights up the map. Work through the exercises, then your own code brings it to life.
A for loop repeats its indented lines. for i in range(5): runs 5 times, with i counting 0, 1, 2, 3, 4.
Print the numbers 0 to 4, one per line, with a for loop and range(5).