SyntaxError: invalid syntax for print code example Example: Python 3 invalid syntax with print() print("hello") var = 1 print(var) var = io.input() print(var)