Wyjątek Python vs Błąd
Syntax errors, also known as parsing errors, are errors occurring when you type
wrongly, miss a : and so on
Even if a statement or expression is syntactically correct, it may cause an error
when an attempt is made to execute it.
Errors detected during execution are called exceptions and are not
unconditionally fatal
MitchAloha