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 trialDev Chaturvedi
2,183 PointsTo get look up the documentation about the str class's upper method, I'd use help( ). What is the correct answer?
what to fill here? I'm not getting it.
2 Answers
Gabriel Reed
560 PointsThere's absolutely nothing in the video that would allow a programming novice to figure this particular question out. Furthermore, when you get it wrong is does not tell you what the correct answer is, you're simply left hanging.
Umesh Ravji
42,386 PointsHi Devender
The help
function accepts the name of the function that you want help for. In this case you need to provide str.upper
because the upper
method belongs to the string class.
help(str.upper)