Open study

is now brainly

With Brainly you can:

  • Get homework help from millions of students and moderators
  • Learn how to solve problems with step-by-step explanations
  • Share your knowledge and earn points by helping other students
  • Learn anywhere, anytime with the Brainly app!

A community for students.

Mechanical MOOC starting Nov. 26, 2012: Will it matter which version 2.7 or 3.2 we use? The "Think Like a Computer Scientist" docs seem to suggest 2.7 is the plan. I looked further. If we follow the outline of the MIT 6.189 course, it looks like the answer is "neither." That course intro says we are to use 2.6. I've been piddling around with 3.2 so I'll need to rework some skills, I guess. Anybody know for sure?

MIT 6.189 A Gentle Introduction to Programming Using Python (OCW)
See more answers at
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.

Join Brainly to access

this expert answer


To see the expert answer you'll need to create a free account at Brainly

there are some annoying differences between 2.x and 3.x - raw_input is gone in 3.x for example, and the tutorials, books largely assume 2.x. you can usually write code that works in both, although sometimes a little aggravating.
Thanks, snark. I do hope that the next few prep weeks before the launch on the 26th will reveal the details for "our" version of the course.
one of the changes that will come up most quickly is that the print function has changed slightly - in 2.6 and 2.7, you can call print x, but in 3.2 you call print(x). However, you can use the 3.2 syntax in earlier versions, but the directions and examples will look different.

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

Thanks, thoughtcrimes, that gives me some hope that I can possibly continue to expand my skills within the course framework, while using 3.2. As it turns out, I do have both 2.7 and 3.2 installed. It does not look like 2.6 is available from the Kubuntu package manager. I think I'm ready to go.
Thanks all for jumping in here. @algotruneman, the course materials on the MIT site are written to 2.6, Codecademy is written to 2.7. You can learn with any version, but you have to be willing to translate the differences. We suggest 2.6 or 2.7.
Since obviously 3.x is the future, I’m using 2.7, because it is basically a continuation of 2.x, but with a (limited) 3.x forward compatibility layer. e.g. I chose to use the 3.x preferred version to call `print()` and using `//` for integer division, since a) these are valid already in 2.x and b) are the only valid options in 3.x
Thanks to all who have made an effort to calm my nerves. I appreciate the guidance about using 2.6/2.7 and 3.2.

Not the answer you are looking for?

Search for more explanations.

Ask your own question