Python Professional — Hard
Key points
- `sorted()` by default sorts tuples lexicographically
- Lexicographical sorting means sorting by the first element first
- If there are ties in the first element, it will then sort by the second element
Ready to go further?
Related questions
