I am trying to do Hello World in Python but:
print "Hello World"
keeps giving me a syntax error. Why is this, i am using python 3.2...
I am trying to do Hello World in Python but:
print "Hello World"
keeps giving me a syntax error. Why is this, i am using python 3.2...
Use:
print("Hello World")
That is a Python 3 command, while
print "Hello World"
is a Python 2 command
If the book that you are using only has Python 2 things, get a new book!