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 trialJoni Carlson
11,940 PointsPython help for the method string
Cannot answer this question nor find answer in video:
To get help for the method center that belongs to the str class, I'd use _____
2 Answers
David Bouchare
9,224 PointsHi Joni,
I actually had to look at the video again, but the answer really is in the video (more or less). You want to call help() on str.center. Can you try it and see if it works?
Tony McCabe
4,889 PointsUse the python interpreter enter 3.4 IDE GUI and type help(str.center). Walla, it worked for me
Kenneth Love
Treehouse Guest TeacherKenneth Love
Treehouse Guest TeacherI never promised you wouldn't have to work for the answers ;)