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.
I'm not sure if this is my fault or not, since I'm new to coding, but when I try to do the test, the test itself seems to cause an error...
File "", line 10
Test.describe("More tests")
^
SyntaxError: invalid syntax
Is this my fault?
Anyone managed to complete this in Java? I am not sure how to return 'undefined' from function which return int.
In Python random tests:
That's interesting because
bool
is anint
but at the same time may not be considered a number. Whatever the intended expected behavior is, I suggest that there should be a static test like this.729 is what was returned, None is what was expected, the argument is not printed by the tests but you can print it yourself if yoy want.
Hi, sorry if this is a really basic question, I'm quite new to the site.
I've tried making a code for this but I keep getting the error "729 should equal None"
Does this mean that cubeodd([725]) should return None? If so, is this because for it to be a "sum" it should have at least two or more components?
If that's the case I added a bit to the code to return None if the input only contains one element. But I still get this issue. I've tried it in a third party program and it returned None with the input of [729]