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.
Traceback (most recent call last):
File "/workspace/default/.venv/lib/python3.11/site-packages/codewars_test/test_framework.py", line 112, in wrapper
func()
File "/workspace/default/tests.py", line 9, in basic_tests
test.assert_equals(add(), 0, 'No arguments should return 0')
^^^^^
TypeError: add() missing 1 required positional argument: 'arr'
I am having this problem. I think it's not related to my function or is it?
This comment is hidden because it contains spoiler information about the solution
Hello, firstly thank you for the exercise but it was a little bit tricky for me to understand at the beginning. Because I first thought that you want from us to compare the amount of letters in the word. Then I figured out that I should compare the places of the words not the amount of letters in the word. If you add some more explanations about this it might be better for the other users.