User blog comment:QuasarBooster/What's wrong with my code?/@comment-31966679-20190716150132/@comment-31966679-20190716152644

1. 43074 steps is a loong time to print. Try commenting out the print statement and see if it terminates.

Anyways, I do know the culprit has gotta be: index=(index+2)%len(program) program+=int(program[0])*h*program[(index-1)%len(program)]