On Nov 14, 2008, at 4:33 PM, Jerry Hill wrote:

Then add
def __init__(self):
 a = 0
 b = 0

to your box class to make a and b instance variables.

Doesn't that have to be "self.a" and "self.b"?

Best,
- Joe

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to