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.
very poor description of the problem conditions, let the author himself guess what he meant
A reminder to read the instructions carefully. I slammed my head against the wall for a while because I was passing the tests but I did not follow the instructions in the prompt. I eventually unlocked the solution and felt like a big dummy but que sera, sera. Gotta keep practicing.
This comment is hidden because it contains spoiler information about the solution
Tnanks
Translation rejected by someone, OP left the building, closing...
Approved
Groovy Translation
This comment is hidden because it contains spoiler information about the solution
Yep, you are right, thank you very much for replying as well.
Giving him the link to the docs is the right way of handling this kind of questions instead of typing the same answer over and over. Also, he'll find the answer to questions that he didn't even thought he had yet there too. I didn't say "be quiet", I mentioned the way
issue
tag is intended to be used.Chrono79 we are in this space to learn. I believe that if we complement each other's answers instead of just saying "here’s the documentation, and be quiet," we will all be improving. Peace and love.
Please read this: https://docs.codewars.com/training/troubleshooting#.print-vs-return and don't create issues if you're not sure, use
question
label instead.This comment is hidden because it contains spoiler information about the solution
Because it's not necesary. "bool" is already a boolean, which means it can only have 2 possible values; true or false. The ternary operator (and the if statement) will validate if a value is "true" and only then execute the code.
This comment is hidden because it contains spoiler information about the solution
Loading more items...