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.
"." could be lifted out of ternary if :)
How is the comparison with 1f different to comparing with 1. Thanks
It's already there
Did you post your comment on the wrong solution by accident? This solution is fine, one of the others has the problem you described.
This comment is hidden because it contains spoiler information about the solution
The instructions are too vague.
There were no test case. Otherwise, the kata were ok.