Showing posts with label second edition. Show all posts
Showing posts with label second edition. Show all posts
Sunday, July 27, 2014
Appendix B -- shuffle
The description of the shuffle method in Appendix B is incorrect. shuffle modifies the list in place and returns None, not the shuffled list.
Thursday, April 4, 2013
Session 8.7
The example session on page 284, Session 8.7 has print statements that are missing parenthesis. This will cause a syntax error under Python 3.x For example the first two lines should look like this:
>>> d = neighborCount(text) >>> print(d['e'])
Other print statements in this session should also have parenthesis.
Subscribe to:
Posts (Atom)