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.
Understood; thanks for considering my suggestion :)
Mh, I run it a number of times, even republished (which makes the tests many times more), and no problem; are you sure you didn't touch the initial array in anyway? Btw changed the code a bit to make it a bit more sound.
Regrettably we cannot have that part of the description different from language to language, so I fear we will have to do with the test cases below.
@GiacomoSorbi
There might be a small issue with the Python random tests. I kept getting this
IndexError
but I wasn't accessing the items by index.I just resubmitted a few times and my solution worked. I briefly looked at the random test case code after completing the kata and noticed that is where there are items being accessed by index.
But I am having trouble deciphering exactly where the problem is. I am guessing it is somewhere in the
for _ in xrange(40):
loop since there are ~30 random tests passed before theIndexError
(it changes each time, this is just on the latest run where I could randomly raise the error).I enjoyed the kata in Python, just wanted to let you know since you could probably fix it very quickly!
There are more test cases in the validation step than initially provided with the kata.
You can print inputs using
console.log
to figure out what is going wrong.Because it is evidently not supported here, I would say?
You can achieve more or less the same with the
indexOf()
method anyway.And, please, next time be sure to use a spoiler tag for your code!
I have passed the test case, but when i submit my code, feedback error : expected Bill instead of false.
Why ??
This comment is hidden because it contains spoiler information about the solution
Fixed the description.
Kyus 8 and 7 are for very basic programming.
This is a Test for beginer
This is to mimic the behavior of the normal Math.min function. My apologies, but the kata was locked before people brought up this issue.
This is to mimic the behavior of the normal Math.min function. My apologies, but the kata was locked before people brought up this issue.
This is to mimic the behavior of the normal Math.min function. My apologies, but the kata was locked before people brought up this issue.
Loading more items...