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 (Retired) Slices sillyCase

sillycase

my code for the sillycase exercise doesn't appear to be working. help?

def sillycase(string):
    half = round(len(string) / 2)
    return string[:half].lower() + string[half:].upper()

What's the error you get when the code doesn't pass? Or is it vague?

Try opening a workspace and testing your code out there as well.

2 Answers

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Just tested your answer and it passed! Try it again and you should be good to go.

Juan Martin
Juan Martin
14,335 Points

Hi, there seems to be a bug, wait till they fix the challenge description :)