Loading...
At this level, we are looking at a spiral path
from van import Van my_van = Van() num = 1 while not my_van.at destination(): my_van.turn_right() for count in range(num): my_van.move_forwards() num = num + 1
Explain how this program works, using the word variable:
Describe the shape of this spiral. Think about the direction and number of steps needed for each turn. Can you find a pattern?