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

Hello all! I just started learning. Could anyone help me with the Ex. 1.2 from Homework 1? # Do your work for Exercise 1.2 here print "I I" print "________" print "I I" print "________" print "I I" when I run this, it says "Syntax error"

OpenStudy (anonymous):

Hey! So, what version of python are you using? Use 2.7, because 3.0 and up has different syntax, and the statement would actually be print(string) When I ran this code in my python 2.7, it ran fine.

OpenStudy (anonymous):

Hi , Denu8! Thanks for your reply. I received an email in which it says: "Codecademy Python exercises are written in Python 2.7, and the rest of the class uses 2.6. The differences should not for the most part affect the class". So, which PYTHON version should I download from python.org?

OpenStudy (anonymous):

As I understood Python 2.7.6

OpenStudy (anonymous):

Yeah, 2.7.6 should work fine.

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!