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 trialParsa Adly
Courses Plus Student 835 Pointshello I'm new to python , and this question is abit tough for me, can anyone help out please?
.
Steven Parker
231,269 PointsIt's important to quote the question because the quiz randomly picks 4 questions from a larger set so it may be different each time it is used.
4 Answers
Chris Freeman
Treehouse Moderator 68,441 PointsIn an interactive Python session:
# to get help use
help()
# to get help on the type str use
help(str)
# to get help on the method upper of the type str use
help(str.upper)
anthony cummings
9,961 PointsThis 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.
Chris Freeman
Treehouse Moderator 68,441 PointsThis is not correct. Kenneth is referring to the built-in str
object (lowercase). All videos are intended to reference Python 3.
anthony cummings
9,961 PointsThis 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.
Chris Freeman
Treehouse Moderator 68,441 PointsStill not correct. Please do not simply repost your answer.
anthony cummings
9,961 PointsThe answer on the quiz fill-in blank asked for the upper syntax for the stringSTR) which the author made mention of. I answered with the lower (str.upper) and it returned as incorrect time and time again. i just got a email notice from Treehouse awarding me 9 points for my answer to the quiz question. Hope that helps and clarifies!
Julian Gutierrez
19,201 PointsJulian Gutierrez
19,201 PointsWhat question are you needing help with?