Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
32 Online
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
Still Need Help?
Join the QuestionCove community and study together with friends!
Paste your program here, and describe how you're trying to run it (in IDLE, from the command line, or what)
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!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
rose12345:
what are three ways to keep the chicks safe from hawks and weather
kewss:
An astronaut pushes a button on his control panel and a light turns on.
GhostlyEnigma:
Simplify the following expression: 4x + 6y - 3x + 8y - 2x - 5y
virgo1234:
Perform the following calculation of measured numbers. Give the answer with the correct number of significant figures.
Extrinix:
So I found a few, well, interesting themes from back then. ud83duddff Oh well
Alanaaaaaaa:
Love is a force that moves us all, A flame that burns within, It lifts us up and makes us whole, And fills our hearts with kin.
2 hours ago
1 Reply
1 Medal
14 hours ago
0 Replies
0 Medals
19 hours ago
3 Replies
3 Medals
19 hours ago
2 Replies
1 Medal
1 day ago
5 Replies
3 Medals
16 hours ago
5 Replies
4 Medals