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 trialAnthony Costanza
2,123 Pointsin order to call the stop method using the instance, you’d need to type
in order to call the stop method using the instance, you’d need to type _____ _______
Not really getting the fill in the blank
any thoughts?
2 Answers
Peter Vann
36,427 PointsHi Anthony!
You want to type:
car_one.stop() # to run it on/for/with the car_one instance
And
self.stop() # to run it in another method within the class
(Although you won't actually type the dot - it's already there in the task code.)
I hope that helps.
Stay safe and happy coding!
Peter Vann
36,427 PointsHi Anthony!
Don't feel bad.
I agree that some/many of the challenge questions are presented less-than-optimally.
The more challenges/tasks in general that you do, the more you'll understand and get used to some of the challenge idiosyncracies.
One thing I have discovered, which is really weird and baffling, is every once in a while, I will type code that I know is 100% correct, but JUST WON'T PASS!?! So let's say the challenge wants a variable to equal the text "I am a great programmer!" And if I hand type the text myself, it fails, but if copy and paste the text from the challenge text itself, then it passes EVEN THOUGH IT IS VERBATIM THE SAME!?! It is a workaround I discovered just by trial-and-error. I have NO IDEAL why it would make a difference, but somehow it does!?!
I hope that helps.
Stay safe and happy coding!
Anthony Costanza
2,123 PointsAnthony Costanza
2,123 PointsOMG - this was driving me crazy - for the record - this is a poorly designed question for a rookie - the period completely threw me off when looking through the videos for the answers - thanx for the help!
ekaterina ekaterina
Courses Plus Student 10,867 Pointsekaterina ekaterina
Courses Plus Student 10,867 PointsVery strange test... car_one.stop() didn't work for me, but this should be one of correct answers.