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 Collections (2016, retired 2019) Slices sillyCase

Brent Capuano
Brent Capuano
949 Points

NO idea where to start or finish. Please help

i have been working on this for a while. cant figure it out. please help

sillycase.py

1 Answer

Steven Parker
Steven Parker
231,269 Points

You probably know how to do at least some of the work for this task, like:

  • define a function
  • show that the function takes an argument
  • give the parameter (that stands for the argument) a name
  • add the statement that will cause a value to be returned
  • determine how long a string is
  • compute what half of a value is
  • use a slice to get part of a string
  • convert a string to lower case
  • convert a string to upper case

At least give it a "good faith" try and do the parts that you can. Then post the code you have so far if you still need help with the rest.