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.
approved
Python: Added in saudiGuy's fork
You may refer to other katas that use the keywords such as
nested
/depth
in PythonTest cases added for Python in fork (need adding to other languages as well).
k
should be strictly positive.I just tried to learn authoring system so don't consider this as a kata. xD
Yes
Bumped the version, and approved
Has been rejected.
I think in the old Python test framework, the files were simply concatenated together, making top level solution functions easy to abuse, hence the requirement. In the current test framework the files are kept seperate, so I don't think it is a concern anymore.
But regardless, just in case, I have moved the solution inside the test function.
I don't think it is necessary, users cannot import anything from the test file due to circular import, unless there is some other kind of "hack" I am not thinking of?
It looks good to me. I clicked approve not sure how long it will take to go through the system.
In order to avoid to invalidate existing solutions, I edited the description in the Rust translation (awaiting for approval). I hope it's fine.
Loading more items...