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.
I think there may be some weird string issues with Codewars' implementation of Python, and I'm still trying to figure out what those issues are. I will give out that in the solution, all strings provided to the class use the decode method with 'utf-8' as an argument, and then, with the final output, run 'encode' on then transformed string with 'utf-8' as an argument.
I decided to spend some more time researching this today rather than remaining oblivious. The test cases expect default-type strings for I/O. The kata editor input, meanwhile, is in utf8. I.e. you need to convert all strings from ASCII to unicode and back. You can totally blame me for approving the kata translation. Meanwhile, I decided to investigate reconciling this, but ran into some issues (not limited to test cases being locked), so I've contacted Codewars about that.
The problem is somewhere else.