Hello World in Python

python, python-3.x

Solution

print("Hello, World!")

You are probably using Python 3.0, where `print` is now a function (hence the parenthesis) instead of a statement.

Problem

I tried running a python script: ``` print "Hello, World!" ``` And I get this error: ``` File "hello.py", line 1 print "Hello, World!" ^ SyntaxError: invalid syntax ``` What is going on?

Original source

Related problems