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.
There is no issue with the kata, but there is one with your code.
This comment is hidden because it contains spoiler information about the solution
that is the same thing i have been wondering man
I have never encountered this way of defining functions, it's confusing... Where is the parameter? how do you call such function? Can someone pls come to my aid? Thank you..
My solution passes all the test cases, but I recieve exit code: 1 with an error saying: res[i] = odds[-1] IndexError: list index out of range
This comment is hidden because it contains spoiler information about the solution
fixed! thanks
This comment is hidden because it contains spoiler information about the solution
Because your code is wrong. Add this sample test to help you debug it:
i pass the test but fail when i try to attempt it?
Because your code has a logic flaw:
The substring can be in any position, not only at the beginning or the end.
I pass the tests but fail when i try to submit??
JAVASCRIPT
Not a kata issue.
Your bmi is calculated wrongly, please check again.
Please see: https://docs.codewars.com/training/training-example#debugging-a-kata
Loading more items...