• I've tried to attempt 2 times, in both cases there was the failed test. Tried 3rd time and all tests were passed. Something is wrong here.

  • I've got a random test case that is broken.

    test.assert_equals(pack_bagpack([3, 18, 6, 6, 14, 12, 8, 5, 12, 13, 19, 9, 12, 4, 4], [1, 5, 3, 4, 3, 3, 3, 4, 1, 2, 3, 4, 2, 1, 3], 149), 182)
    

    It says that the final score should be 182, but sum of all given elements is sum([3, 18, 6, 6, 14, 12, 8, 5, 12, 13, 19, 9, 12, 4, 4]) == 145

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

  • Python 3 should be enabled.

  • I think changing the description as follow is better. Because in this way, parameter x and y are nolonger needed. Which makes this kata more concise.
    "Your job is to calculate the minimum total cost when moving from the upper left corner to the lower right corner".

    Btw, I wonder why is this kata 5kyu since "Pyramid Slide Down" is 4kyu. Obviously this one is a little more difficult.
    https://www.codewars.com/kata/pyramid-slide-down/python

  • Typo in description: "thar"

    Thanks