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.
i forgot about exeptions.. thanks
Wow, I'm amazed you fit it into 3 rows.
However, I find your code a little bit hard to read but it's
probably because I suck at ternary operetor.
Congrats!
I guess the author of the comment already knows, but let it stay for new people.
for a person who does not know what this code is for, he has no idea what the number 40 is.
in this case, the constant is used for two reasons in bussines case,
1 instead of a comment,
2 if you update the price list, you change it in one place, not in several.
the same if 'd' was 'days' a new person immediately knows what the code is for.
Must have forgotten, Good call. Luckily you were quick to fix my mistake!
Hi, you should know that comments on solutions are visible unless you use the spoiler tag (which I just added to the comment), otherwise you just flat-out gave away the solution, which is forbidden.
This comment is hidden because it contains spoiler information about the solution