SyntaxError: Invalid syntax
Situation: A SyntaxError is a common error encountered in Python code when the interpreter encounters a statement or expression that violates the language’s syntax rules. This error typically occurs due to mistakes in the code structure, such as missing or misplaced characters, incorrect indentation, or incorrect use of keywords.
Example:
if x == 5
print(“x is equal to 5”)