Module 4 · Manhattan Navigation
Lesson 5 · Implementing the Manhattan Class — Knowledge Checks
Name Date
What's the main advantage of the Manhattan class over the standalone function?
Answer Why?
After nav = Manhattan((2, 1)), what does nav.position hold?
Answer Why?
In the class version, where does the old start parameter's information come from now?
Answer Why?
You create nav = Manhattan((0, 0)) and call nav.compute_path((2, 3)). Afterward, what is nav.position?
Answer Why?