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.
Just tried out your code and it works.
It means your code returns
undefined
(does it actually return something?) whereas it is expected to return"raider"
.cringe 😶
I added the 3 consecutive array elements into a list so i could use the count() function to find which one of them is only once in there :)
you're the one with both pieces of code and the knowledge of which test case failed. see if the js version produces the same answer, verify manually, etc
most likely though? you didn't try the same expression. they are different languages, so if you just copied the code, then js code doesn't do the same thing when executed by python
Why say things like this when people are trying to learn? Do you feel better about yourself?
Use spoiler flag next time please.
This comment is hidden because it contains spoiler information about the solution
bad tests :P?
return false;