Ad
  • Custom User Avatar

    Traceback (most recent call last):
    File "/workspace/default/tests.py", line 5, in
    test.assert_equals(x(2), [[1, 1], [1, 1]])
    File "/workspace/default/.venv/lib/python3.11/site-packages/codewars_test/test_framework.py", line 35, in assert_equals
    expect(actual == expected, message, allow_raise)
    File "/workspace/default/.venv/lib/python3.11/site-packages/codewars_test/test_framework.py", line 19, in expect
    if passed:
    ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()