1.13.4: Random Hurdles

The Problem

I keep ending up with infinite loops!

The Solution

Look closely at the four different worlds. They all have one thing in common: They have the same number of avenues (they said this in the assignment, but you might not have read it closely enough to notice).

Whenever you need to repeat something a set number of times, what kind of loop do you use?

I think they put this assignment here to remind you that even though you now know a bit about while loops, you shouldn't forget for loops.