Module 4 · Manhattan Navigation
Lesson 4-1 · The Main Program — Knowledge Checks
Name Date
The robot is 3 across and 1 up from the corner nearest you. Which line stores that?
Answer Why?
How many lines does this print, and what is the last one?
STOPS = [(1, 1), (0, 2), (3, 3)] for stop in STOPS: print("Go to", stop)Answer Why?
A student calls drive_path(path, robot_position, robot_heading) on its own line, with nothing on the left, then plans the next leg. What goes wrong?
Answer Why?