invalid syntax python code example
Example 1: pyflakes invalid syntax
if variable > 10
print(variable + str(" > 10"))
# there is no ":" next to the 10 in the 1st line, that will activate an error which is "SyntaxError : invalid syntax"
# [pyflakes] significate something is missing in your code
Example 2: invalid syntax
zizi = true
if zizi = true:
print("hello world")