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.
true
That is really smart!
Good
if price is zero then the result will be -1
this is nice
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
how it works? please explain me
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Please use spoiler flag next time.
Check my solution if you want to do it in the same way while handling an invalid colour
This comment is hidden because it contains spoiler information about the solution
You are right. But error handling was not part of the Kata, so all is good.
Insane but it doesn't handling errors
Loading more items...