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 trialJoseph Sujith Raj J
196 PointsTo get help for the method center that also belongs to the str class, we would use
I gave answer as help(str.center). But system throws error. Can someone help me?
3 Answers
Josh Keenan
20,315 Pointscopy this exact answer:
help(str.center)
Josh Keenan
20,315 PointsThat is the correct answer....redo it then post to this thread again if it doesn't pass
Joseph Sujith Raj J
196 PointsI tried many times. But it failed
Josh Keenan
20,315 PointsHappy to help, were you using a '.' character after the 'help(str.center)'?
Joseph Sujith Raj J
196 Pointsoh got it :(
Joseph Sujith Raj J
196 PointsJoseph Sujith Raj J
196 PointsThank you. Its works. :)