We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

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

Key: Typo Tech. Error Suggestion Not a problem Next edition

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

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
1-end
#50187: There appears to be a typo in the CSS of the epub edition. It says ".example Property padding-rightt doesn't exist : 1em" Search for "rightt...more...
P4.0
20-Nov-12
9
#48528: 17 / 10 produces 1.7 not 1 (an integer). Int division would be 17 // 10 and produce a one. Perhaps the text is not current with now state ...more...
P4.0
15-Jan-12
19

#47879: <code:bold> tags visible--Jessen Havill

P4.0
31-Oct-11
43
#50201: on def to_celcius(t): return(t-32)*5.0/9.0 Traceback (most recent call last): File "<string>", line 2, in <fragment> IndentationError:...more...
P4.0
23-Nov-12
75
#47819: In the v4.0 PDF and mobi version, the first example after the first paragraph in section 5.4 appears like this: for <code:bold>variable</co...more...
P4.0
26-Oct-11
77
#49937: I downloaded the lists/multiplication_table.py from the provided link. When inserted into a blank file or run through the Python visualizer y...more...
P4.0
10-Oct-12
78
#50079: In the box "Where did my list go", the variable colors is assigned 'red orange yellow green blue purple'.split(). Then, colors is evaluated, ...more...
P4.0
28-Oct-12
91

#49551: "another fundamental concepts" should be "another fundamental concept"--Michael Ernst

P4.0
21-Jul-12
98

#49167: Q 7 says to print half_lives in 5.5 Slicing pg 84 when half_lives is in 5.3 Built-in Functions on Lists on pg 79--Jay Palmer

P4.0
21-Apr-12
100

#49552: <code:bold> tags are visible at the beginning of section 6.2 (as they are in a number of places in the book)--Michael Ernst

P4.0
21-Jul-12
102
#49129: For some of the pages when they try to explain new terminologies, I see a bunch of blotchy text format code like this one from page 102 <co...more...
P4.0
18-Apr-12
112

#51472: In the first sentence, "...the empty list [] all are considered to false,..." should be "...the empty list [] all are considered to be False,..."

P2.0
07-May-13
122 115

#53017: Page 114 (probably blank) is missing--Leen Torenvliet

P4.0
10-Oct-13
125

#51473: Markup tags appear instead of formatted text: "for variable in <cf>list</cf>:". "list" should be printed in bold.

P2.0
07-May-13
176
#49184: The code for inverting a dictionary appears on page 176, right before the inverting a dictionary section, and then again on page 177 (exact sa...more...
P4.0
23-Apr-12
204

#48007: In the first if statement you have:

else:
min2, min1 = 1,0

That should be

else:
min2, min1 = 0,1--Susan Rodger

P1.0
22-Nov-11
890
#49915: Since I'm a beginner, I'm sure this is my error; however, I'm running Wing IDE (as suggested in the class resource area and on PDF Loc 890 whe...more...
P4.0
02-Oct-12