Objective: If you have done little or no programming, show that you can write a small Python program. If you already have prior programming experience (expecially if you already know Python) do something a little more impressive for me. This could include rewriting a previously written program, and compare the Python version to what it looks like in Java or C++ or whatever.
The assignment consists of three parts, all hard copy, physical sheets of paper:
- Your source code. Something in some version of Python 3 (3.1, 3.2, 3.2.5, whatever). Any version of Python 2 (the most common ones are 2.6 and 2.7) is not acceptable.
- Your results; what happens when you run it? This could be a printout, one or more screenshots, something to show that it works.
- Two pages or more of your comments about the assignment. These are comments about what you thought about the assignment, not specifically about how the program works. These comments can be typed, handwritten, anything I can read. You should have comments about what the program does and how it works, and they should be in the program.
A title page is totally optional, just put your name on everything you hand in so I know who it belongs to.
Portable Python (220.127.116.11) for Windows can be downloaded at http://portablepython.com/wiki/Download/. Click on the download link and choose a mirror. The .exe file will create a folder with all the necessary files to run Python, and it will NOT install anything on your computer.
A great collection of links to [free] Python documentation can be found at
Some other good links are
“Invent Your Own Computer Games With Python” — http://inventwithpython.com/
I use a number of examples from the book in class.
“Think Python: How to Think Like a Computer Scientist” — http://www.greenteapress.com/thinkpython/thinkpyth…
“How to Think Like a Computer Scientist: Learning With Python 3” — http://openbookproject.net/thinkcs/python/english3…
“A Byte of Python” — http://swaroopch.com/notes/python/