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.
as the kata specifically says it accepts only booleans as inputs, then yes thats what they want.
Terrible kata. Really simple but the description is not comprehensive enough
This comment is hidden because it contains spoiler information about the solution
what a bad kata.... the instructions are not clear!
This comment is hidden because it contains spoiler information about the solution
boolToWord("Poppet") returns "Yes" is this what you wanted?
True, I guess it is just a much different description from every other kata I had experienced so far. Thank you for the update.
That's a problem with your code, not a kata issue. And probably it's a duplicate of this
Note that nowhere it says write a function.
After you write your function to solve this kata, you have to actually call your function otherwise it will not pass the test.
This is what i did
This comment is hidden because it contains spoiler information about the solution
This adds unnecessary complexity. When would this be the preferred way? I'm still learning. So, please take it easy on me.
This comment is hidden because it contains spoiler information about the solution
I tried to do this one first but I couldn't but it's great to see someone has same ideas with me :D
Thank you for your reply.
I want to mention that I know that a function must be called to it to work. But in all previous katas, that I solved there never was such requirement. All functions were called automatically. So when it wasn't mentioned in the description or Sample test of your task, I haven't assumed that in your kata there was a need to add a code to call a function.
I only found out about it, when a read a comments in this disscusion area.
Loading more items...