Practice: Syntax Errors
Q21. Syntax versus exception
Explain two differences between a syntax error and an exception such as ZeroDivisionError.
Goal: Compare error kinds.
Q22. Why look at the line above
Why should you check the line before the one named in a syntax error report?
Goal: Find the real cause.