Module 4 · Manhattan Navigation
Lesson 3 · Lists — Knowledge Checks
Name Date
Which is true about lists compared to tuples?
Answer Why?
Given path = [(0, 0), (1, 0), (2, 0)], what does path[2] return?
Answer Why?
For that same path, what does path[2][1] return?
Answer Why?
A student's loop ends with a list holding only the LAST coordinate instead of all of them. What's wrong?
Answer Why?