User blog comment:QuasarBooster/What's wrong with my code?/@comment-35470197-20190715222445

Although I do not know the language, Index seems to move 0->2->4->6. On the other hand, Index in the page which you quoted seems to move 1->3->5->7. How about starting from Index = 1 and switch the lines of "index=(index+2)%len(program)" and "program+=int(program[0])*h*program[(index-1)%len(program)]"?