Bridge Academy.
← BACK TO MATERIALS
WEEK 38 · JULY 23, 2026

Dictionaries · Part 1

Build, access, add, update, delete; in / not in; len.

Lesson 10 · Dictionaries · Part 1 — Level I · Guide

July 23, 2026 · Bridge Academy Python Program

Learning goals

  • Build dictionaries with curly braces: {"key": "value"}.
  • Create an empty dictionary with {}.
  • Look up a value by its key: d["key"].
  • Add a new key or update an existing one: d["new"] = value.
  • Remove a key with del d["key"].
  • Check whether a key is in a dictionary with in / not in.
  • Count keys with len(d).

This lesson covers PCEP-30-02 objective 3.3.

Preview truncated — download the notebook to see the full lesson.