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.
This comment is hidden because it contains spoiler information about the solution
@adam-tokarski You could add a Python 3 version, see my solution.
Expected and got are the same,aren't they? It is not a problem of the kata, it is a Codewars problem as it happens a lot these days. You can report it as a bug. Many CW passed the kata and the tests are th same in all languages. Anyway you succeeded, good:-)
I answer late but I have just been notified.
Ah thanks for the info. It should work now. Please reply if you have any problems, thanks
Ok, I see it now. I weren't aware of this new versioning mechanisms. Nice system.
So example test weren't working because are verified in slighlty different way than the final ones. I just make workaorund it to be working only in 2.7 version to avoid such problems.
It's just the example test cases that don't work, the final test do work. If your original solution didn't work in Python 3, it wouldn't be selectable in the version list.
Just change language version to 2.7 (near "Your solution" panel, at right). This is something new on CodeWars, and it seems that my Kata doesn't work on Python 3.