You need to sign in or sign up before continuing.×
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.
Thanks for the edit
I agree that the current description is ambiguous & lacks the definition of "earliest match"
There was a discussion about this:
Error in random tests in Python
The description is ambiguous:
What is an earlier match? Earlier name in the description or lowest index in the string?
python new test framework is required. updated in this fork
No problem, glad you could solve it.
Thank you Chrono, your console.log() suggestion actually helped me fish out the last of the bugs. I appreciate it.
Write
console.log(meme);
as the first line of your function.I can't see the tests, how do I know the input it is failing on?
There are several users answering questions for katas that aren't theirs (don't expect an instant answer, people do other things too). Have you tried to use
console.log
and checking what the input is for the failed tests?anyone? ffs why does no one ever help with things on this site?
This comment is hidden because it contains spoiler information about the solution
Text was rewritten by moderator, so it became clearlier, I think
Translation approved
So with "earliest match" you mean the match that completes leftmost in the search string.
This will, of course, not work for search strings that have the same last letter, but this kata does not have those.
Python translation. Please, review and approve.
Loading more items...