Ad
  • Custom User Avatar

    @Lex88 for python - use print() statements inside your function.

  • Custom User Avatar

    This is a bit offtopic but how do i see what the testcase 5 is?
    I am also failing just this one test but I don't know how it failed.

  • Custom User Avatar

    I'm passing all the test it throws at my code, but I keep getting the following exit error:

    Traceback (most recent call last):
    File "main.py", line 21, in
    test.assert_equals(comp(a1, a2), False)
    File "/home/codewarrior/solution.py", line 3, in comp
    array2.sort()
    AttributeError: 'NoneType' object has no attribute 'sort'

    I know what the problem is in the use of the sort() method but what's the best way of rectifying the problem? Any feedback would be greatly appreciated, thanks! :)

  • Custom User Avatar

    Same problem, not resolved for PHP

  • Custom User Avatar

    You're reading the logs wrong, they appear above the test result. That's not the input of the test your code fails.

  • Default User Avatar

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

  • Default User Avatar

    You have to press the attempt button-to the righ of the test button. This gives more tests. If you get all of those correct, the green submit button appears (in place of the attempt button), and when you press that, it submits you solution.

  • Custom User Avatar

    The "test" button will only run a few tests. After that passes you shold use the "attempt" button and that should do it.

  • Default User Avatar

    How do you submit kata? When I test and it runs perfectly, there's no submit button and my profile doesn't update.

  • Default User Avatar

    How do you submit kata? When I test and it runs perfectly, there's no submit button and my profile doesn't update.