On Tue, Jun 17, 2008 at 12:14 AM, Guess?!? <[EMAIL PROTECTED]> wrote:
> Exercise 17.6 Write a definition for a class named Kangaroo with the
> following methods:

[cut]

Be careful about asking for homework help.  We're restricted from
giving much help on homework questions.


The error message you're seeing is:

    AttributeError: Kangaroo instance has no attribute 'pouch_contents'

I would believe this message.  This is saying that, for some reason,
your Kangaroos don't have pouches.

Where would this 'pouch_contents' attribute be initialized?
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to