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.
Engrish
Seems already fixed. (a reply would've been nice :p )
As a beginner-level kata plus the title having the switch keyword, the intro to
switch-case
usage is perfectly valid here. Though the usage of a lookup table or dictionary would be the ideal way of solving, users can refer to solution panel to view other solutions. OTOH, there exists other 8kyu katas which introduce techniques mentioned above, including what you've mentioned.Random tests expect "Eigth" (should be Eight). Please fix this.
Added a remark on input is always guaranteed to be within the range of
0 - 9
.Translation has been rejected by someone, please propose a new fork and a new suggestion
Approved
Haha, same
Same. I also overcomplicated it
Groovy Translation
OP solved it by hard-coding, closing :-)
Added
Added a note about test range.
fixed
description typo
Ouput
-->Output
Loading more items...