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 function name should be in snake_case in Python and Ruby.
Didn't you wonder that so many guys passed the kata and nobody said something?
It can be a bit difficult to explain but the two functions are inverse of each other; below examples taken from basic tests:
But with your functions here is what I get:
When you pass from a number written x in base a to that number written y in base b and then pass y from base b to base a you expect to find again x.
Nevertheless lots of thanks for your post which is very instructive.
I mark the issue as resolved but if you don't agree or if you find that my explanations are too short please tell it.
This Kata can have multiple results. Thus a correct solution may not pass. Example: 495834 can be encoded as "1299329600" and "1322343000".
I can't understand the logic behind this solution. Can you please clarify it.