Dr. John Zelle‘s book Python Programming: An Introduction to Computer Science is a fun and thoughtful introduction to computer science, using Python as the vehicle of example and experiment. Thus two useful skills are engendered together, without becoming overly mired in the possible complexities of either. It is simply an introduction, and would serve well as part of a series of texts in approaching Python and computer science. Regardless, it is enjoyable and quick to read thus far, leaving what I feel will be a more solid foundation for further study.
As I continue to go through the book, I am completing most of the exercises listed in and at the end of the chapters. As I do, I also add them to one of my svn repositories. You can view and download them here. Some are slightly altered from the book’s intent and form, but are along the same lines. Even if you aren’t going through the exercises yourself, perhaps you might enjoy calculating the distance to a lightning strike based on the time it took for the thunder to arrive, or perhaps you’d like to approximate the value of pi using Newton’s method. See if you remember how before checking the scripts though.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.








Hi Samuel,
I am also using the book to learn how to program. I finished 3 chapters and working on chapter 4 and the end chapter exercises. I want to check my solutions to your script, however, I cannot access them on the link you have provided because it requires a username and password. Can you please provide me with a user access?
Thank you so much.
Cheers,
Dante
@Dante
Sorry about that! I switched over to GitHub a while back and didn’t clean these links up. They now point to the right spot. Good luck!
Hi Samuel,
Thank you so much.=:)
Cheers,
Dante