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

When trying to run the lecture code from lecture 3, I continue to get a syntax error on each section. I am using Python 3.3.3 and IDLE on a Mac. Any ideas?

OpenStudy (anonymous):

With more searching, I found that the demo code is not compatible with Python version 3.0 and higher.

OpenStudy (anonymous):

I experienced errors with 3.3.3. The course notes suggest using an earlier version, so I downloaded 2.7.6. on my mac and it has worked well so far. I'm not at lecture 3 yet, so I can't speak directly to your problem, but I would start with using 2.7.6. The newer version has some different rules and (i think) keywords that can mess you up.

OpenStudy (anonymous):

the code won't work with 3.3.3 you must get 2.7.6 if you want to follow the code from the lecture. If you're using 3.3.3 it has some changes like print is a function...for example: print("Hello, World!")

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!