A syntax error breaks the rules of the language: Python refuses to start the program at all. A runtime error happens while the program runs: it starts, then stops at a line that cannot be carried out. A logic error lets the program run to the end, but with a wrong result.
Computer Science · Glossary
What is Syntax error, runtime error, logic error?
Also known as: syntax error · runtime error · logic error