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.
The initial solution in python does not have any function body for
__init__
, I'm not sure where you're getting that from.That said, you should never raise a
BaseException
. The exact exception type doesn't matter for this kata, but it should be a concrete type, not the base class. Tryraise ValueError(...)
, it will fix your issue.