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

Please fill in the correct answer in each blank provided below.

to help help about the 'rjust' class str the tells me to fill in the bank. I dont get it. What is rjust?

1 Answer

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

To get help about the rjust method in the str class, I'd use help( ).

rjust is a method in the str class. It's one of the many many predefined methods in Python standard library that you can call to use right out of the box.

rjust is used to right justified string for fancy output formatting, but the functionality of rjust method is of no significance here, and the challenge doesn't expect you to know it, it only tests your ability to look up the documentation of a Python method, the right commend here is help(str.rjust).