Course contentsShow
Python
Lesson 451 of 1,28911. DictionariesPro lesson

Sorting dicts by key

`sorted(d)` for keys, or `sorted(d.items())`.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.