Syntax error on print with Python 3
I'm trying to do a brief tutorial with Python and I can't make it work. I
downloaded 3.3.2 and I typed "print "Hello, World!" It highlights the
lattermost quotation mark ("Hello, World!") and says
"SyntaxError: invalid syntax". I don't know what to do to fix it and I'm
completely inept with most things computer-related. Any and all
assistance would be awesome.
This is definitely a duplicate - print() is now a function as of Python3 and the issue would be resolved by adding parentheses.
type:
This is definitely a duplicate - print() is now a function as of Python3 and the issue would be resolved by adding parentheses.
type:
print("Hello World")
Read the docs! :)
Comments
Post a Comment