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.
Approved
The description is very strange,,, better look at the sample tests
(JavaScript)⠀⠀⠀⠀⠀
Lua translation!
Thanks!
Approved.
You forgot Javascript there, that now has random tests.
Why it should be "CoWr oeas"?
From description:
Perhaps for the language you trained on, the expected value is 'CoWr oeas'? If so, please specify the language.
Not a kata issue, there was a single sample test, the Attempt tests have other numbers in the strings.
Where do you read that? Not a kata issue.
That's what it says, I guess you were not using the string passed to the function and generating a random number yourself and then failing the only sample test there was, because it expected 4 as answer. I've added 2 more sample tests.
anyway I solved it! this kata have poor instructions.
it always says that the output should be always 4.
but the instruction says it should be random number which is 0-9.
this is so confusing!
I code in JS.
This is very easy, this should be 8kyu.
This comment is hidden because it contains spoiler information about the solution
Lua translation ready for review !
BF tests are missing .strictEqual and will pass no matter the program. Fix here: https://www.codewars.com/kumite/66501cbf184c146a5e005da1
Loading more items...