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 (2015) Python for Beginners Second Quiz

To get help about the rjust method in the str class, I'd use help( ). couldnt get the meaning of this question at all

well, as I recall the video was talking about the use of help to better understand the functionality of any function for example print or (str) but didnt really talk about anything regarding r or rjust as the question

2 Answers

Chris Freeman
MOD
Chris Freeman
Treehouse Moderator 68,454 Points

help can be used on any object and it attributes and methods by using the "dot" notation (object .method). To get help about the list method extend use:

help(list.extend)

To get help about the rjust method of str use

help(str.rjust)

Thank you. I have just figured that out!

help(str.rjust)