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.
I tried something similar to this, but my _getattribute_ was called for _init_ as well as for x and bar. Reporting the _init_ attribute access caused the tests to fail. How did you get around this problem?
I'm using this site to improve my Python, and from your solution I learned about named tuples and enums. Very valuable! Thanks.
Great kata! It's a shame that it's only available in one language. I've tried to translate it into Python - why don't you take a look at my humble effort? I would love to hear your feedback.