Solutions for problem sets, quiz and final exam of the course MITx:6.00.1x Introduction to Computer Science and Programming Using Python.
It is highly recommended to solve the problem sets, quiz and final exam by your own, and only use these solutions as a guide in case of having trouble.
Update:
In January 2017, the contents of this course were updated to support Python 3. I am very glad they improved this course since the future of Python is Python 3 (at least for now). Though I originally provided solutions for the original version of this course, I will continue updating the contents of this repo in order to fit the new version.
In order to run a module you can simply:
$ python3 module_name.py
This way you can test that the solution provided is working properly. Make sure to be inside the directory where the module is.
- Problem 1: Counting Vowels
- Problem 2: Counting Bobs
- Problem 3: Longest Alphabetical Ordered Substring
- Problem 1: Paying Debt off in a Year
- Problem 2: Paying Debt Off in a Year
- Problem 3: Using Bisection Search to Make the Program Faster
- Radiation Exposure (it has been removed in the Python 3 version of the couse)
- Hangman
- A Word Game
- Encryption
- Recursion
- Monitor news feeds over the Internet
- Problem 4
- Problem 5
- Problem 6
- Problem 7
- Problem 8
- Problem 4
- Problem 5
- Problem 7