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.
Approved
python new test framework is required. updated in this fork
Raised as issue
brackets are not needed but good solution nontheless.
The total should be rounded: 4 + (-1.5) + (-0.67) ~= 1.83 --> rounded to 2.
This comment is hidden because it contains spoiler information about the solution
It is related to it, you have to write your code in order to avoid that error, not a kata issue.
Looks like you are missing an aterisk in function parameter.
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?
Enabled
Final result shoud be integer, that is missing in the description.
Approved
Approved
Ruby update with upgrade to MRI 3.0.0
Loading more items...