small medium large xlarge

The latest version of the book is P1.0, released about 2 years ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (13-Jun-18)
PDF page: 0

In the exercise answers, the title of chapter 11 is not reading and writing files. That is chapter 10.--Steve Boyle

  • Reported in: P1.0 (04-Jan-18)
PDF page: 211
<quote>Python has a type called set that allows us to store mutable collections of unordered, distinct items. (Remember that a mutable object is one ...more...
  • Reported in: P1.0 (10-Nov-18)
PDF page: 254
binary_search() code is incorrect. It fails when the middle value is the searched value. I confirmed by copy-pasting the code and running it; some doc...more...
  • Reported in: P1.0 (13-Nov-18)
PDF page: 275

Page numbering jumps from page #273 to #275. (So from there onwards odd- and even-numbered pages have changed places.)--Stefan Werner

  • Reported in: P1.0 (09-May-19)
PDF page: 299
The value 'country' of country.Country('Canada', 34482779, 9984670) does not exist in the example interaction of exercise 2 and causes a syntax error....more...