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.
Yes, if they both drink the cola.
Meaning if that first Sheldon drank but the other did not then you would have 3 Sheldon.
when you have [Sheldon, Sheldon, .....] do both double again and resulted in 4 sheldon ?
The test are correct, 1728 guys passed the JS kata.
The tests for JS are not correct. For instance, it might say "Expecting ["WEST", "NORTH"], instead got ["NORTH" ,"WEST"]". This happens even if the first instance of "NORTH" comes before the first instance of "WEST" in the argument variable. Frustrating.
You modify the input array
arr
by replacing "WEST" and so on by "w" and so on... First that as no interest and second you change the input which is very bad since my answer becomes "w" for example instead of "WEST". Maybe you should first follow some courses about Python or learn some books.I'm still a beginner, just started this month. I dont understand what do you mean with modify the input arrray. Please help me :( May i know how do you attach the code like what u just did ?
It is your code which has
['e']
not mine! Look at your code and see if you don't modify the input array... It is very bad practice.Time: 227ms Passed: 9 Failed: 1
Test Results:
✔ Test Passed
✔ Test Passed
✔ Test Passed
✔ Test Passed
✔ Test Passed
✔ Test Passed
✔ Test Passed
✔ Test Passed
✔ Test Passed
✘ ['EAST'] should equal ['e']
I don't need your code. Please post only the output of the failing test and if you want post for which input too.
1230 guys passed the Python kata and I don't see what kata error you could have.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution