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 Python Basics (Retired) Say Hello to Python Help Hotline

i dont understand this

i dont understand this question, can you help please ?

Stone Preston
Stone Preston
42,016 Points

Which question of the quiz do you not understand? Can you copy and paste the question

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:___________ . dot laugh at me im new (:

2 Answers

Stone Preston
Stone Preston
42,016 Points

To use the help method to find out more information about a method or function of a class, you would generally write something like:

help(class.method_name)

we need to call the help method on the center method of the str class so you would use

help(str.center)

For more information on the help method, see the Python documentation

thank you so much i really understand it now . this is my first day here. how do you see treehouse is it useful to learn everything??

Stone Preston
Stone Preston
42,016 Points

I love Treehouse. All the courses are great and the forum members are helpful. I have yet to find a better learning community. I've mainly done the iOS courses but have a bit of experience with most of the topics so if you need any help feel free to tag me in a question.

great . i really have i a new idea in social network so i need to learn php , python then make my team to make my project