Syntax error in print statement

Either you’re using Python 3, in which print is a function and thus requires surrounding parentheses (i.e. you have to say print(x) instead of print x), or you have an earlier line of code that wasn’t terminated properly.

Browse More Popular Posts

Leave a Comment