Syntax Error
An error occurred as a result of having stray spaces or using reserved keywords.
Example 1
Error Message |
![]() |
---|---|
Bug example ✘ | Source of error: import is a reserved keyword.![]() |
Correction ✔ | Solution: change the variable name.![]() |
Example 2
Error Message |
![]() |
---|---|
Bug example ✘ | Source of error: the name of the parameter contains a space.![]() |
Correction ✔ | Solution: remove the space or replace the space with _ ![]() |