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.
Hi, I have compared my function's output for the example test cases to the expected results, and they match, but for some reason the run fails with the below error when I try to run with the supplied testing:
Traceback:
in
File "./frameworks/python/cw-2.py", line 28, in assert_equals
expect(actual == expected, message, allow_raise)
File "./frameworks/python/cw-2.py", line 12, in expect
if passed:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Has anyone else seen this issue?
Awesome, thanks - learned some new things from this :)