Ad
  • Custom User Avatar

    Not the best practice as any other errors that are not due to IndexErrors will still return -1. Its best to return -1 ONLY when index is out of range.

  • Custom User Avatar

    I passed all 12 tests but there is 1 exit code error:

    Traceback (most recent call last):
    File "main.py", line 46, in
    Test.assert_equals(doubles(arry),expected)
    :
    :
    :
    RecursionError: maximum recursion depth exceeded in comparison

    What is happening?

  • Custom User Avatar

    I passed the sample tests but when I press attempt, it shows Response received but no data was written to STDOUT or STDERR. I'm coding in Python. Help!

  • Custom User Avatar

    I get the error on the last test: 583333333333333199654186882007384351197353825559163647809919463614194707991625728 should equal 583333333333333333333333333333333333333291666666666666666666666666666666666666668.

    Is it due to a rounding error?