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 hear you.
there are so many katas like this, so ambiguous, that the challenge is no longer coding it, but rather guessing what the creator of the kata thought it means.
i embarrassingly admit, every now and then come back to it with a random idea and it always fails.
This comment is hidden because it contains spoiler information about the solution
eww!
Please mark your post as having spoiler content next time, read this: https://docs.codewars.com/training/troubleshooting/#post-discourse
you're not supposed to print the answer. you need to return it
nvm, i got it. needed to return as int
its all indented correctly, it just didnt align right
This comment is hidden because it contains spoiler information about the solution
use a while loop
Thanks, but no.
Just an idea, add negative numbers to the mix, i know it would break my code
Great Job
Thank you for your feedback, I have implemented some random tests that will give unique string inputs. If this is not deemed novel enough to be a Kata I have a second stage prepared where the first parameter accepts any string (instead of just 'frog') and the second argument is the search string. Would this be a more novel challenge? I went for this one first as easier to test as a beginner.
Hi this is my first kata, happy to research and implement random tests.
Honestly, great Job.
the only thing i can say to make it better is this.E.G: You need help booking an appartment.
good fun kata!.
Loading more items...