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

Python Object-Oriented Python (retired) Objects Creating Instances

Need help with instances

i understand how class work i just need a little help on instances.

Matthew Rigdon
Matthew Rigdon
8,223 Points

Can you be more specific? Perhaps give an example.

1 Answer

Jeremy Fisk
Jeremy Fisk
7,768 Points

Consider a class to be a fairly generic outline: an example might be of vehicles. The class could be the ford mustang that has class attributes common to all ford mustangs such as a steering wheel, 2 front seats, a row back seat, a certain range of color possibilities, interior possibilities (i.e. vinyl, leather, etc.), . An instance of that class could be considered a specific ford mustang with a certain VIN number specific to that instance; specific color, interior, transmission, etc.