Worked Python exercises

From time to time, people ask me for solutions to the exercises for my Python book. I don't have them available, but I do have this set of 271 exercises and solutions.

I put all of this together very quickly, so there are likely errors. Please let me know of any you find, and I'll fix them.

Exercises and Solutions

Note: In the book, the += operator is not introduced until Chapter 10, but I used it in a lot of the solutions for earlier chapters. An expression like total += 10 is shorthand for total = total + 10.