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 trialsreeharsha thanneeru
Courses Plus Student 1,297 PointsUnable to get the answer right for this
"To get help for the method center that belongs to the str class, I'd use"
I think the answer for this question is help(str) or dir(str).
Both are coming up as wrong answers. What would the correct answer be ?
4 Answers
Kenneth Love
Treehouse Guest TeacherIn the video, I think I looked up the help for the rjust()
method of the str
class. Obviously you don't want to look up that as the answer to the question, but it should point you in the right way.
Gloria Dwomoh
13,116 PointsI'll bold somethings for you.
"To get help for the method center that belongs to the str class, I'd use"
so you are looking for the method "center" that belongs to the "str" class... I'm giving you a hint that might help..if you still can't get the answer then let us know to help.
sreeharsha thanneeru
Courses Plus Student 1,297 PointsFace Palm !!! I was a lil sleepy when I did it the pther day .. I couldnt catch the word Center, and was reading method center as one ? and was scratching ....
Now that I know you reply super awesomely for the questions, I will try to apply more brains and raise more valid ones !!!
Cheers !!!
Prabh A
Courses Plus Student 104 PointsJust to add on another place where someone has mentioned before. when you do type help(str.center) on the android app a space appears between help and (str.center) making it invalid. So basically delete the space.