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.
Taking the below test case as an example I can't figure out why "zero" is lower case in the solution. As the fourth index in the number it seems that it should be upper case, or if we are only to look at the number of writen out numbers, then it is the second index of that so it should be uppercase. Could someone please offer an explination as to why it is lower case in the solution?
test.assert_equals(conv(47309534), "f73zero953fourFOUR")
Thank you for taking the time to investigate it if I can make the same thing happen again I will thouroghly document it and report the issue.
I tried several solutions that worked fine.
You passed the kata and your solution got warnings:
It's not a kata issue but if you think the compiler is at fault you can report a bug at:https://github.com/Codewars/codewars.com/issues.
This comment is hidden because it contains spoiler information about the solution
Now, this is interesting. Can you share your code so the issue could be investigated and reported as the potential runner bug?
Also, there's no Swift 5.2 available for me?
This is more of a compiler error than an error with the kata. In swift 5.2 I had a line creating the final output string that I missed the type cast from Int to String and instead of throwing an error that I can't add an Int to a String it was just timing out. The compiler would also time out if i did the typecast in the same string building line.