Python · Lesson 6.3 · Pro

Looping over dictionaries

Walk through keys, values, or both, and sort a dictionary by its values.

In this lesson

  1. Keys, values and items
  2. Filter while looping
  3. The key with the biggest value
  4. Sort by value