Module 4 · Manhattan Navigation
Lesson 2 · Tuples — Knowledge Checks
Name Date
Given position = (3, 5), what does position[0] return?
Answer Why?
What happens when you run position[0] = 5 on a tuple?
Answer Why?
Does (1, 4) == (4, 1) evaluate to True?
Answer Why?
Using this method, what's the Manhattan distance from (1, 1) to (4, 3)?
Answer Why?