Ad
  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    Thanks for help. I didn't realise where my mistake was.

  • Custom User Avatar

    I think there is a problem with your code: func must be applied to each element of the list, not to the whole list. Beware, func argument of map is different from func you defined above.

  • Custom User Avatar

    Issue is with Python for me. As an example - when random input is [7, -4, 4, 2], the output I get is:

    "It should work for random inputs too: [False, True, True, True] should equal ['array should contain only numbers', 'array should contain only numbers', 'array should contain only numbers', 'array should contain only numbers']"

    When clearly [False, True, True, True] is the correct answer.

  • Custom User Avatar

    What do you mean? Can you give examples? Which languages? There is no issue until you proved there is actually one. I completed this kata in JS and Python and I see no problem.

  • Custom User Avatar

    Random tests don't work for this kata.