Hello Danny, It isnt my homework. I am reading Think Python: An Introduction to Software Design ..... This is Exercise question of Chap 17
Thanks, G On Mon, Jun 16, 2008 at 9:24 PM, Danny Yoo <[EMAIL PROTECTED]> wrote: > 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