[sf-lug] ThinkPython Ex 15.4
Alex Kleider
a_kleider at yahoo.com
Thu Feb 26 11:52:07 PST 2009
For those of you who might be following Asheesh's Python classes and struggling (as am I) with the excercises:
The code Allan Downey tells us to use in Chapter 15, Ex.4 seems not to work:
from World import *
world = World()
wait_for_user()
The wait_for_user function is defined in TurtleWorld, not in World.
Substituting TurtleWorld for World in the two places that it appears, seems to solve the problem.
More information about the sf-lug
mailing list