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 trialDavid Garcia
Python Development Techdegree Graduate 11,254 PointsStringCases.py
I get the concept but i cannot execute it. Need help please
def stringcases(string):
string(enumerate("abc"))
print(string).upper()
print(string).lower()
print(string).title()
print(strin)[::-1]
stringcases()
1 Answer
Chris Freeman
Treehouse Moderator 68,441 PointsYou are very close! Instead of using print
statements, the challenge want you to return
a tuple of values. That is, each value separated by a comma (,) such as:
return value1, value2, value3, value4
where each value is filled in with the correct case or reversal asked for in the challenge.
Post back if you need more of a hint. Good Luck!!
David Garcia
Python Development Techdegree Graduate 11,254 PointsDavid Garcia
Python Development Techdegree Graduate 11,254 PointsThank you very much ill get back to it tomorrow after work.