Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thanks!
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?
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.
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.