Ad
  • Custom User Avatar

    My python solution runs through all the tests, but the last one of the suite. The test says that the count should be 30, but mine does it in 29 iterations of calculating a new x. It's only in the last test is there a mistake in the last test?

    Test.assert_equals(int_rac(835871232077058, 1), 30)??

    When i tried a simple if statement work around, the test suddenly wants 29 :O

  • Default User Avatar

    Absolute are not integers. Meaning: abs(-0.5) or abs(0.5) both equals to 0.5.