Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
27 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
XShawtyX:
Helpud83dude4f All this graphing shi hurts my head like how tf do u do this????
Jasonisyours:
What were the key causes of the French Revolution in 1789?
brianagatica14:
A phone company charges $2 for the first five minutes of a phone call and 30 cents per minute thereafter.
CherryLover:
not sure if ya'll hear of this but last year there was this girl and her name is Aubreigh Wyatt and she was bullied by a group of people and they hated her
ctomk3743:
It's another song I had in mind (please no negative comments) I walk through the rain at night as the wind blows hard and the rain pours down on me.
3 hours ago
1 Reply
1 Medal
3 hours ago
2 Replies
4 Medals
9 minutes ago
6 Replies
3 Medals
2 hours ago
41 Replies
3 Medals
1 day ago
8 Replies
7 Medals