Passer au contenu
English

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.

Syntax, runtime and logic errors and how each one shows up

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP