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 trialBrendan Sullivan
186 PointsI think it's wrong. should be help(str)
question in quiz 2; answer should be help(str) to look up the help file for a string.
1 Answer
andren
28,558 PointsThe questions are presented in a randomized order each time you take the test so I don't know what question appeared as number 2 for you, but if you are referring to this question:
To get look up the documentation about the str class's upper method, I'd use help(___)
Then str
is wrong because they are not asking for help with the str
class, but for help with the upper
method of the str
class. Which can be directly accessed through help(str.upper)
.