Codecademy Logo

Unit Testing


A SyntaxError is reported by the Python interpreter when some portion of the code is incorrect. This can include misspelled keywords, missing or too many brackets or parentheses, incorrect operators, missing or too many quotation marks, or other conditions.

age = 7 + 5 = 4
File "<stdin>", line 1
SyntaxError: can't assign to operator

Learn More on Codecademy