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.
This comment is hidden because it contains spoiler information about the solution
I found the solution, the error appears when I use the 'power' function in postgresql, so I had to replace it.
In SQL I get the error "Test Failedexpected 1.0 to be a kind of Fixnum" can you give me a hint to fix the error please.
def distribute_evenly(lst):
print(lst)
return ['one']
Can anyone tell me how I can see the expected results of the test when I click the 'attempt' button please
It was my mistake, thanks Chrono79, it was solved.
No, that can't be right. How do you know that test is failing? If you are using the sample tests, comment out the others and with
return 30;
it should pass. But it won't pass the next test that's expecting 10.Thanks Chrono79, I reset and tried again and now I get the following error: 'Failed asserting that 30 matches expected 10.' the test case is this '$ this-> assertEquals (30, points ([' 1: 0 ',' 2: 0 ',' 3: 0 ',' 4: 0 ',' 2: 1 ',' 3 : 1 ',' 4: 1 ',' 3: 2 ',' 4: 2 ',' 4: 3 ']));' the value I returned is this 'return 30;'
Actual and expected were flipped in PHP. Click Reset, try again.
In PHP I get the following error in the test:: 'Failed asserting that 10 matches expected 30'. I only return the value of 30 in this way "return 30;" to know what kind of result should my function return. Can someone tell me what value should I return to pass this test case please.