r/learnpython•
themindset

print "Hello World" or print("Hello World")

Hi there, I know this seems silly but I can't seem to find an answer by googling.

I'm learning on Codecadamy and they use the print command with a space after it. I downloaded and installed Python for Windows (3.6) and it corrects me saying I need to put parentheses after the print command.

Why is there a difference between the two?

Posted Mar 12, 2018, 9:45 PM UTC

58
Loading comments…