• + 0 comments

    This breaks when y == n. The if when decrementing list[y] should be if y < len(list): list[y] -= incr. Overall great solution! Thanks for doing it in python!