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

traolach trewhella
PLUS
traolach trewhella
Courses Plus Student 835 Points

Im having trouble with the question to get help about the r just method in the str class i'd use help?

i cant seem to get this one right i followed all the videos correctly please help the qustion in the quiz was "to get help the r just methodin the str class id use help .....then it askes the answer

1 Answer

Tobias Helmrich
Tobias Helmrich
31,602 Points

Hey there,

to get help on a specific method in a class you have to write help() and in the parenthesis you have to write the class and the method separated by a dot like so:

help(str.rjust)

I hope that helps! :)