Skip to content

Errors & testing

Handout

Three kinds of error

  • A syntax error breaks the rules of Python, so the code will not run.
  • A runtime error crashes the program while it is running.
  • A logic error runs fine but gives the wrong answer.

Handout

Log in or create account

IGCSE & A-Level