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

    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

    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

    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.