Why do I receive a syntax error when printing a string in Python 3?
>>> print "hello World"
File "<stdin>", line 1
print "hello World"
SyntaxError: invalid syntax
In Python 3, print became a function. This means that you need to include parenthesis now like mentioned below:
It looks like you're using Python 3.0, in which print has turned into a callable function rather than a statement.