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.
Ranks can't be changed.
This comment is hidden because it contains spoiler information about the solution
Kata is nice, but compaired to other 4 kyu's I've tried it is too simple. Maybe move to 5 kyu?
Thanks for lightning-fast answer. Yep, it is working perfectly now.
So this rec function was a sub function and sub method...
I will try to replicate it locally, it is interesting to make it work in sub case as well.
Thanks again for awesome kata!
I looked into it, for some reason
rec_test
was not defined in the global scope, and so was contradicting the description:I have moved
rec_test
to top level, and I think that your code actually works now. Have a try and let me know if it is still broken.This comment is hidden because it contains spoiler information about the solution
Python newbie here. Very nice kata, helped me with understanding decorators.
My solution fails both recursive test with KeyError exception. I've tried locally to feed factorial function to my solution with no problem.
Can I have a code for "rec_test" function so I can test is locally? Or some hint on how to debug it?