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 Basic Object-Oriented Python Welcome to OOP Classes, Attributes, and Methods

nicolea
nicolea
5,048 Points

Calling A Method Inside Another Method

I need help understanding the following quiz question:

In order to call the stop method inside of another method, you'd need to write: ____ _____

There are two blanks for this answer. I wrote self.stop and self.(). In both, the first blank was correct, but the second one wasn't. What goes in the second blank?

1 Answer

nicolea
nicolea
5,048 Points

I solved it! The correct answer is self.stop(). So both of those responses combined.