Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Yuda Leh
7,618 PointsTrying to make a small program, here is a list of what I am trying to do, but I dont know how to start it
Figured it out! It wasnt Homework, just something a friends ask me
1 Answer
Ricky Catron
13,023 PointsThis feels like homework so I am afraid I won't be giving you any code.
What I believe you need to go is look at this from an object oriented approach. Identify your classes. These will be the big blocks of your code. Each class will contain methods and attributes. These are characteristics and things the class can do.
The Human class would have an attribute of Pet which would be a pet object. This pet object would have a method which made a noise (aka printed a string) when that method is called.
Sorry for being so general. Does that help at all?
Goodluck! --Ricky