Ad
  • Custom User Avatar
  • Custom User Avatar
  • Custom User Avatar

    I can't pass error assert.
    here is my code:
    def add_arrays(array1, array2):
    if len(array1)!= len(array2):
    return "Input arguments are not of equal length"
    else:
    return list(map(lambda x, y: x + y, array1, array2))
    Am I missing something?

  • Custom User Avatar

    Not very hard as for me. But the description confuses. Random tests was unexpected and frustrating. I have completly rewrote my code and accomplished kata, but this was a bad joke. So please add one or two asserts with lowercase and the like to basic test cases.

  • Custom User Avatar

    Good kata. It's useful in real life too. Not just in training one's code skills. And yet in my humble opinion there is a flaw. I saw some Kata with unclear description, this is the first with a description way too clear. Using Python one can complete the task by just copypasting description and adding one or two lines.