What goes in the blank?
# sort by the second element of each pair pairs.sort(key=lambda p: p[____])
Answer: 1
Indexes are zero-based, so the second element is index 1.
Play Problem Solving ▸
# sort by the second element of each pair pairs.sort(key=lambda p: p[____])
Answer: 1