Help Bolt collect all five energy crystals.
Use a Python for loop so Bolt repeats
the same instructions five times.
Run your Python code and watch Bolt respond.
Instead of writing
robot.move() and
robot.collect()
five separate times, use one loop to repeat
both instructions.
for loop
What would happen if
range(5)
were changed to
range(3)?
You used a Python for loop
to repeat instructions and help Bolt collect
all five crystals.