Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 60 Online
OpenStudy (anonymous):

Hey I just got python on my Windows operating system and I'm just trying to make the program print "hello world," it just says syntax errror

OpenStudy (anonymous):

Paste your program here, and describe how you're trying to run it (in IDLE, from the command line, or what)

OpenStudy (anonymous):

Do you have Python version 2.x or the latest version 3.x? The course uses version 2, and the most immediate difference between them is the syntax of the "print" command. Version 3.x wants you to use parenthesis, so print("hello") rather than just print "hello". Although if you are following the course, the best solution is probably to go back to python.org and install version 2.7

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Nxttrend: I was born to be a starud83dude18
38 minutes ago 59 Replies 4 Medals
Fz150: Is pluto even a planet anymore?..
1 hour ago 19 Replies 5 Medals
Fz150: Photo dumpud83dude0dud83dudcf8
25 minutes ago 31 Replies 5 Medals
Ylynnaa: A short poem about Myself
1 hour ago 3 Replies 3 Medals
Fz150: My cover art for upcoming song u201cLove smellsu201d hehe
26 minutes ago 7 Replies 5 Medals
Colorfulblueberry: if u can be any animal what would u be?
35 minutes ago 23 Replies 7 Medals
uknownprttyfacekayla: Yall i got a confession im actually a guy ud83dude14
1 hour ago 6 Replies 6 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!