Ad
  • Custom User Avatar

    Yes, if they both drink the cola.

    Meaning if that first Sheldon drank but the other did not then you would have 3 Sheldon.

  • Default User Avatar

    when you have [Sheldon, Sheldon, .....] do both double again and resulted in 4 sheldon ?

  • Default User Avatar

    The test are correct, 1728 guys passed the JS kata.

  • Custom User Avatar

    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.

  • Default User Avatar

    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.

  • Default User Avatar

    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 ?

  • Default User Avatar

    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.

  • Default User Avatar

    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']

  • Default User Avatar

    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.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution