Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    I found the solution, the error appears when I use the 'power' function in postgresql, so I had to replace it.

  • Default User Avatar

    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.

  • Default User Avatar

    def distribute_evenly(lst):
    print(lst)
    return ['one']

  • Default User Avatar

    Can anyone tell me how I can see the expected results of the test when I click the 'attempt' button please

  • Default User Avatar

    It was my mistake, thanks Chrono79, it was solved.

  • Custom User Avatar

    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.

  • Default User Avatar

    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;'

  • Custom User Avatar

    Actual and expected were flipped in PHP. Click Reset, try again.

  • Default User Avatar

    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.