Question 8.11 asks you to provide the sort function a cmp function rather than a keyword function. This is old school. In Python 3.0 cmp was removed.
Wednesday, May 20, 2009
Friday, May 8, 2009
Listing 12.1
Lines 4, 6, and 16 incorrectly call a method named fillColor. the name of the method should be setFill. For example line 4 should read house.setFill('blue')
Subscribe to:
Posts (Atom)