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

I just installed Python 3.3 on my Windows 7 PC. When I open the Python shell and try print 'hello', I get SyntaxError: invalid syntax. Basic equations like 5*5 work correctly. What am I missing?

OpenStudy (anonymous):

There were some changes between python 2 and python 3. For example print needs to now be called as a function

OpenStudy (anonymous):

Ok. So it's probably better to install python 2 for this class?

OpenStudy (anonymous):

Yes.

OpenStudy (anonymous):

Got it. Thanks!

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!
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!