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

beginning of Python course : "Help Hotline" questions

I feel like a complete newbie asking this question but I am literally 30 minutes fresh into the treehouse python course and have little experience.

Here is the question that I am stumped on:


In the video, we looked up the documentation for the rjust method on the str class by using help(str.rjust).

To get help for the method center that also belongs to the str class, we would use _____.


Is there a way to see the correct answer if you answer wrong on the quizzes? Doesn't help me if I never can find out :(

1 Answer

Chris Freeman
MOD
Chris Freeman
Treehouse Moderator 68,468 Points

Most quiz question don't show the correct answer after a wrong choice. The best bet is to search the forum for the answer or ask directly.

This question is asking how to get help on the center method of a str string object. Similar to the rjust example:

help(str.center)

Thank you Chris! Very appreciated.. actually ended up finding the answer on the forums (starting to get more familiar with it now) but i am thankful for your reply. i was confused with the definition of method and the sentence explaining method "center".. i was thinking it was "method center" if that makes sense.. lol