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
it formats the value to display with 5 digits (d = digit)
This comment is hidden because it contains spoiler information about the solution
Fixed.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yes, and that's a problem with your code, not a kata issue.
This comment is hidden because it contains spoiler information about the solution
Thank you
The tests don't check for multi-char glyphs. This means that naive implementations (most, if not all submitted, including mine) would corrupt the strings with multi-char glyphs in them by reversing order of chars in them. Either add test cases for those or add the assumption that input strings are ASCII in instructions.
If there's multiple spaces, your .s method might remove some of them. Spaces should be preserved.
This comment is hidden because it contains spoiler information about the solution
Nice, I didn't know I can declare multiple variables in one line like that. It there any computational advantage of using ariables like this and making them a list at the return vs just creating a list in the beginning?
Nice nd simple