Bridge Academy.
← BACK TO MATERIALS
WEEK 64 · NOVEMBER 12, 2026

Error Handling · Part 1

`try` / `except`; ValueError, IndexError, KeyError, TypeError, and ZeroDivisionError.

Lesson 25 · Error Handling · Part 1 — Level I · Guide

November 12, 2026 · Bridge Academy Python Program

Learning goals

  • Use try and except.
  • Recognize common exception types.
  • Write separate handlers for different errors.
  • Keep programs from crashing on bad input.

Students begin error handling with common exceptions they can already understand from earlier units: bad conversions, missing keys, missing indexes, and division by zero.

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