Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Kata is nice, but compaired to other 4 kyu's I've tried it is too simple. Maybe move to 5 kyu?

  • Custom User Avatar

    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!

  • Custom User Avatar

    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?