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!

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 The Lambda Lambada Recursion

Challenge is broken ?

I Tried on ipython, and on a workspace, and it gives me a set of all the prerequisite, in both platform. I am pretty sure that it's the good answer. Maybe I didn't understood the probleme correctly ?

{'Django Basics',
 'Flask Basics',
 'Object-Oriented Python',
 'Python Basics',
 'Python Collections',
 'Setting Up a Local Python Environment'}

1 Answer

Chris Freeman
Chris Freeman
Treehouse Moderator 68,404 Points

You answer is mostly correct. The key is in the task description: "You should add() the title of the prerequisite to the pres set and then call prereqs again with the child courses." That is, only prerequisites should be added. The top-level course "Django Basics" is not a prerequisite.

This has stumped many others. search the community pages for "prerequisites". You're in good company.

Oh well it work if I ignore the first one ! Thank you, I guess I should read better next time lol