Python 3 error when running the print command

In Python3 print is a function:

print("Hello, World!")

Check: http://docs.python.org/release/3.0.1/whatsnew/3.0.html


One of the major changes in Python 3 is that print has become a function. Try using:

print('Hello World')

That should work.


Python 3 has changed print from being a statement to being a function. This is how you print "hello world" in Python 3:

print("Hello world")

I recommend taking a look at What's new in Python 3, this issue is the first one mentioned on the list.

I also recommend asking any programming questions on StackOverflow, in my experience, they are welcoming to beginners.