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 trialAdi Beizsley
4,809 Points' To get help for the method center that belongs to the str class, I'd use ' - Help, every answer I give is wrong!
I don't think I'm understanding the question correctly as every answer I've given has been wrong.
2 Answers
Luke Buśk
21,598 PointsYou call the "help" by using help(class.method)
. In this example "center" is a method of a class str. So it should be help(str.center)
Dewey Vozel
18,250 PointsI had the same problem with this question and it was driving me nuts until I noticed that for some reason on both the Web page and android app it was automatically inserting a space after help and before the opening parenthesis.