Skip to content

Exceptions

When things go wrong

  • A runtime error normally crashes the program.
  • An exception is Python's signal that something went wrong.
  • Exception handling lets you catch it and keep running.

Handout

Log in or create account

IGCSE, A-Level & AP