I am currently taking the 2011 course, but am having a bit of trouble running the code on a python 2.x version shell, everytime I run the code from the lectures it automatically opens up the shell from python 3.4. At first none of the codes worked until I began adding parenthesis on all the print statements, but I also ran into issues with the raw_input function, the code only worked when I used the just the input function? Is anyone having any such issues?
MIT 6.00 Intro Computer Science (OCW)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
If you have python 3.4 as the default, then you may need the proper path to run the 2.x stuff.
If you have python 2.x installed but not in your $PATH then you can still run the problems in that shell by running them like this, "python27 program.py"