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.
readability dude
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
i was thinking about this. but this is just harder to read. nice one tho.
One-line solutions are always cool.
This one is practical, sure, however I find it quite long.
from the first was fix this very quick, but then if someone name longer or wired and this will be failed.
i dislike it
i like it
Very nice, thank you!
true
i agree it will re execute the count in each iteration, but maybe he leave it like that to save 1 line of code at the cost of little eficiency.
numberToString function argument shoult be type of int, not string.
you had to use ternary operator with a lot a parentheses
The description states:
"When provided with a number between 0-9, return it in words." Thus your condition does not fall within the range of inputs.
What if the user specifies -3 or a number greater than 9?
Loading more items...