When I try to use a print statement in Python, it gives me this error:
print
>>> print \"Hello, World!\" File \"\", line 1
There is a change in syntax from Python 2 to Python 3. In Python 2,
print "Hello, World!"
will work but in Python 3, use parentheses as
print("Hello, World!")
This is equivalent syntax to Scala and near to Java.