Errata in Fundamentals of Python

(ISBN-10: 1423902181)

           

Below are the errors that have been discovered in the first printing.  Please report any new errors to klambert@wlu.edu.

 

 

Page xxiii

Paragraph 5, line 1, ÒÓuse of the stringsÓ should be Òuse of strings.Ó

Page 24

In code segment at bottom of page, second 3 should be in plain text, third 3 should be italicized.

Page 44

In third bulleted item, $2000 should be $3000.

Page 44

In Figure 2.4, 3 should be italicized.

Page 57

Next to last line of first paragraph, ÒsectionÓ should be Òsession.Ó

Page 61

All entries in Table 2.8 should be bold.

Page 64

Second paragraph, first sentence, 6.5 and 7.0 should be bold code font.

Page 85

Third paragraph, next to last sentence, % should be bold code font.

Page 92

Next to last paragraph, Òif-elseÓ should not be italicized.

Page 94

In first two code segments, Òraw_inputÓ should be ÒinputÓ (4 instances).

Page 94

Second paragraph, first sentence, ÒifÓ should not be italicized.

Page 104

Last paragraph, first sentence, ÒwhileÓ should be bold code font.

Page 110

Last line, ÒyÓ should not be bold but should be italicized.

Page 128

First line after line beginning with ÒifÓ in first code segment, ÒcipherValue = ord('z') - \

                  (distance - (ord('a') - ordValue + 1)) Ó should be

 ÒcipherValue = ord('z') - (distance - \

                           (ordValue - ord('a')) - 1)Ó

 

Page 133

First paragraph, last line, Ò30Ó should be Ò34Ó.

Page 359

Last paragraph, line 3, ÒChapter 8Ó should be ÒSection 8.3.9Ó.

Page 432

Second line from bottom, Ò1,000,000Ó should be Ò10,000,000Ó.

Page 456

Second paragraph, line 4, Ò1 out of nÓ should be Ò1 out of n!Ó.

Page 468

Project 4, line 5, Òexpo(number, exponent – 1)Ó should be Ònumber * expo(number, exponent – 1)Ó.

Page 523

Item 1 near top of page, Òfrom the targetÓ should be Òfrom just after the targetÓ.

Page 524

Third line from bottom, Ò0.33Ó should be Ò0.3Ó.

Page 539

First code segment, third line, remove Ò;Ó

Page 649

Table 16.6, row 5, column 4, ÒTrueÓ should be ÒFalseÓ

Page 650

Table 16.6, next to last row, third column, Òe , a bÓ should be Òc , e bÓ

Page 650

Table 16.6, last row, third column, Òe , a bÓ should be Òc , e bÓ

Page 651

Table 16.6, second row, third column, Ò, e a bÓ should be Ò, c e bÓ

Page 651

Table 16.6, last row, third column, Ò, a bÓ should be Ò, c bÓ

Page 711

Figure 17.12,

 

Q - - - - - - -

- - - Q - - - -

- Q - - - - - -

- - - - - - Q -

- - Q - - - - -

- - - - - Q - -

- - - - - - - Q

- - - - Q - - -

 

should be

 

Q - - - - - - -

- - - - - - Q -

- - - - Q - - -

- - - - - - - Q

- Q - - - - - -

- - - Q - - - -

- - - - - Q - -

- - Q - - - - -

 

Page 713

Delete two instances of Òk = 0Ó and Òk += 1Ó .

Page 713

Two instances of Òk <=Ó should be Ò0 <=Ó.

Page 720

Code segment, third line from bottom, Òparser.pyÓ should be Òparsers.pyÓ.

Page 744

Figure 18.9, the first list should not include the box containing 6, and the box containing 4 should be shaded instead of the box containing 5.

Page 773

Throughout the code segment, ÒmaxChildÓ should be ÒminChildÓ and ÒmaxItemÓ should be ÒminItemÓ

Page 786

Table 19.3, row 4, column 1, Ò_setitem__Ó should be Ò__setitem__Ó.

Page 815

Question 3 b, Ò0.33Ó should be Ò0.3Ó.

Page 823

Next to last paragraph, first line, ÒgraphÓ should be Òconnected graphÓ.

Page 825

Figure 20.8, row 1, column 2 should contain Ò0Ó, and row 2, column 2 should contain Ò1Ó.

Page 826

Figure 20.9, row 2, column 1 should contain Ò1Ó.