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.
This comment has been reported as abusive
I just would add parentheses for clarity
It's a pleasure to see so clean code! I learn a lot thanks to You. Thanks bro.
Good job! My answer was so messy xD
Great solve. This taught me about conditional operators and was incredibly helpful. Thanks.
thank you :D
OMG, I love your solution! You're very patient
Gosh I feel dumb.
lol
Could you explain what do you mean?
What the... I neet to drown myself by stuffing my head into toilet..
Don't forget: Each declared variable needs space in memory (stack or heap). In this kata, you might use three different vars but in real life projects with millions of code and thousands of vars, that solution might be best practise (depends on your team and the concrete project / requirements).
Apparently the computer understands it better if the code is all on one line.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...