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 trial

Python Python Basics (2015) Python for Beginners Second Quiz

Python help syntax

To look up the documentation about the str class's upper method, I'd use help( (str.upper) ).Why is this not the right answer?

3 Answers

Steven Parker
Steven Parker
231,271 Points

You don't need an extra set of parentheses.

The correct answer is (STR.upper). After intensive research.

Steven Parker
Steven Parker
231,271 Points

Exactly what I was suggesting. And the answer is not case-sensitive.

This is the correct answer. (STR.upper) and not (str.upper). The author in the video is referring to the STR and not str in the older version of Python.

Steven Parker
Steven Parker
231,271 Points

The quiz is not case-sensitive. Either answer will pass the quiz.