Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
21 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
xXAikoXx:
Activity: Business E-mail Write a business email for the following scenario. Pretend that you are the administrative assistant for the marketing department
xXAikoXx:
A fiction book's main ideas involve the ____. A. a character's conflict or problem B.
xXAikoXx:
What needs to be done before choosing and reading a book? A. Make sure it is nonfiction.
gelphielvr:
(chemistry 2 questions) 1. Differentiate between the plum pudding model and the nuclear model for the atom.
gelphielvr:
(logistics) If the king does not castle and the Pawn advances then either the Bishop is blocked or the Rock is pinned.
Tylerr:
Does anyone know of any reputable websites offering scholarships, or where one ca
vannieduval:
Yall need to make a section for boredom and random thoughts
Jayisbetterfrfr:
Sometimes I beat up myself, I block my own way I cloud all my thoughts, please go
Luna34:
Mending Glass A heart once whole, now cracked and worn, Its edges sharp, its fabric torn, A silent cry, a whispered ache, From love once real, now past the
7 hours ago
3 Replies
0 Medals
8 hours ago
3 Replies
1 Medal
15 hours ago
2 Replies
1 Medal
18 hours ago
4 Replies
2 Medals
19 hours ago
17 Replies
2 Medals
20 hours ago
9 Replies
2 Medals
20 hours ago
9 Replies
0 Medals
15 hours ago
5 Replies
2 Medals
13 hours ago
4 Replies
3 Medals