Syntax Errors
- Syntax errors are mistakes in the source code, like spelling and accentuation mistakes, wrong names, etc, which cause a error message to be created by the compiler.
- A program won't compile until all syntax error are remedied. For interpreted language, be that as it may, a syntax error might be distinguished during program execution, and a interpreter's mistake messages probably won't separate syntax error from of different sorts.

How do you identify syntax errors?
- Make sure you are not using a Python keyword for a variable name
- Make sure that you have a colon toward the finish of the header of each compound assertion, including for, while, if, and def articulations.
- Make sure that any strings in the code have matching quotation marks.
- Make sure that space is reliable.
Syntax Errors
During the syntax analysis phase, this kind of error appears. Syntax error is found during the execution of the program.
- Some syntax error can be:
- Error in structure
- Missing operators
- Unbalanced parenthesis