Python · Lesson 4.4 · Pro

Sorting and searching

Sort lists, find where things are, and count how often a value appears.

In this lesson

  1. sorted() gives a new sorted list
  2. .sort() changes the list itself
  3. Find and count
  4. The median, by sorting