Core Types

Lists, tuples, dictionaries and sets, and the mutability rules that cause most Python surprises.

  1. 01

    Mutable and Immutable Types

    • easy
  2. 02

    List, Tuple, Set or Dictionary?

    • easy
    • Pro
  3. 03

    Identity or Equality?

    • easy
    • Pro
  4. 04

    Truthy and Falsy in Python

    • easy
    • Pro
  5. 05

    The Mutable Default Argument

    • medium
    • Pro
  6. 06

    Shallow and Deep Copies in Python

    • medium
    • Pro
  7. 07

    What Can Be a Dictionary Key?

    • medium
    • Pro