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
hi samuel if you can do exercise from chapter 5 zelle and send it to my email, it will be great.
hi Samuel ,
i have been doing exercises of chapter 4 and i actually wanted to check if they were correct or wrong ,could you send me there answers ?
Thank you
To anyone looking for a copy of the answers: You will have to reach out to Dr. Zelle: john.zelle “at” wartburg.edu He may decide to send you a copy of the answers for personal use.