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"
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.
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?
As I understood Python 2.7.6
Yeah, 2.7.6 should work fine.
Join our real-time social learning platform and learn together with your friends!