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 trialMohamed Jubara
513 PointsTo 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
Treehouse Moderator 68,454 Pointshelp
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)
Margaret Maginnis
199 Pointshelp(str.rjust)
Mohamed Jubara
513 PointsMohamed Jubara
513 PointsThank you. I have just figured that out!