Ad
  • Custom User Avatar

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

  • Custom User Avatar

    That worked like a charm! I made a copy of "names" as you said. Thank you very much for your time! I learned something today, cheers

  • Custom User Avatar

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

  • Custom User Avatar

    Thanks for your reply. Sorry it was my first question on the site and I don't know why I thought everybody could see my code. I will post a more complete question with the label and use the spoiler flag.

  • Custom User Avatar

    Any clues why my code returns the correct result when checking it on the local console and the wrong one when trying to pass the test on CodeWars? It happens in the Basic test (the first one) and in several of the random ones.