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 trialMartin Grogan
5,980 PointsChallenge 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 ?
Out[61]:
{'Django Basics',
'Flask Basics',
'Object-Oriented Python',
'Python Basics',
'Python Collections',
'Setting Up a Local Python Environment'}
1 Answer
Chris Freeman
Treehouse Moderator 68,441 PointsYou 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.
Martin Grogan
5,980 PointsMartin Grogan
5,980 PointsOh well it work if I ignore the first one ! Thank you, I guess I should read better next time lol