Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 64 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
grimreaper124: nah me dying I am lmao
16 seconds ago 0 Replies 0 Medals
H1m: How do i create a theme on questioncove???
6 minutes ago 1 Reply 0 Medals
fkhfkhgf: LIFE IS WAY TO SHORT TO SPEND ANOTHER DAY AT WAR WITH YOURSELF
18 minutes ago 5 Replies 1 Medal
grimreaper124: broo I am lonely I needa girl any advise on life yall
8 minutes ago 17 Replies 3 Medals
Unknownuser8009: I have 12 days till my birthday... thoughts on what should I do?
1 hour ago 8 Replies 2 Medals
xXAikoXx: i have hip pain help.
10 hours ago 2 Replies 1 Medal
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!