Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Most 7Kyu challenges are explained like dog sh**
I'm glad to hear that!
Python 3 uses only new-style classes, while in Python 2 you've choice. There is no so big difference in creating between them. Read some Python's docs or look at our priceless stackoverflow.
Ok, I see where is your problem now. It runs on Python 2.7; you have to read about new-style classes.
I will update description to make sure it should be in the newer style.
No problem, but when posting mark as having spoiler. If you pass without second parameter it's like the same for our function, because it's just empty dictionary.
Build, by your function, class should have methods (and props) as returned from helper function. Test cases checks that, so I wonder how did you passed through example tests?
That's the point of this Kata: to find way to generate class dynamically.
Just make sure your function is naming new class as is passed by parameteres. This test case checks it.
Hi, at which test case your solution fails? Given class name with whitespace shouldn't be a problem.
The example was missing during the translation to python. It's added now. Thanks for pointing out!