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 Functional Python Functional Workhorses Map

Laurens Sandt
Laurens Sandt
3,513 Points

Solved accepted solution to challenge wont run in PyCharm

This code will be accepted as a solution to part one of the map challende. But wont run in PyCharm. Consequently it will return a mistake in the second part of the challenge.

backwards = [ 'tac', 'esuoheerT', 'htenneK', [5, 4, 3, 2, 1], ]

def reverse(item): return sorted(item, reverse=True)

Laurens Sandt
Laurens Sandt
3,513 Points

I have my answer so don't bother posting answer. Thanks in advance

1 Answer

Steven Parker
Steven Parker
229,644 Points

Congrats on resolving your own issue! :+1:

You could place [SOLVED] in front of the title as an alternative to selecting a best answer, so folks won't think you still need assistance.