Solutions
Solutions for selected exercises from each chapter can be found below. Be careful about looking at the solutions too quickly; make sure you’ve given yourself time to wrestle with the concepts you just learned before looking at a solution. Also, there are several ways to solve many of the exercises, and the solutions only show one possible way to complete each exercise.
The book’s author hasn’t included solutions for Chapters 18-20, because the exercises for those chapters are really projects in themselves. If you’re having trouble with an exercise from one of those chapters consider posting on Stack Overflow, r/learnpython, or join the Discord server .
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Chapter 7
- Chapter 8
- Chapter 9
- Chapter 10
- Chapter 11
- Chapter 12
- Chapter 13
- Chapter 14
- Chapter 15
- Chapter 16
- Chapter 17
Questions and Feedback
If you’re stuck on something and what you see here isn’t helping, please join the Discord server . Also, if you think you’ve found a mistake in the book or in the online resources, please contact the author: