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
Vuk Spasojevic
9,491 PointsOne of solutions for step 5 of teachers.py.
def stats(dict): outter_list = [] inner_list = [] for key in dict: outter_list.append([key, len(dict[key])]) return outter_list
stats(dict)
Chris Freeman
Treehouse Moderator 68,468 PointsI should also add, great job on solving the challenge. We realize it is exciting and that you wish to share your solution.
1 Answer
Vuk Spasojevic
9,491 PointsDear Chris, I apologize, it was only posted as demonstration of one of the elegant solutions. Will not happen again. Best regards
Chris Freeman
Treehouse Moderator 68,468 PointsChris Freeman
Treehouse Moderator 68,468 PointsDo you have a question here? If not, this post will be deleted as Treehouse discourages simply posting answers in the community forum.