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 trialKaryna Reut
1,611 PointsWhy it did not print previous code?
Hi, so, in the previous videos we had the result: The car has stopped etc. Why didn't we have it here this time?
1 Answer
Travis Alstrand
Treehouse TeacherHey Karyna Reut !
This is because she changed the print
statements at the bottom to print out the cars
attribute of the Dealership
class. She was no longer calling any of the "movement" methods from within the Car
class.