Grasshopper Python - Implementing loops in codes

Hello,

I try to loop the blue marked code. After running the def loop_fire(self) no looping comes into effect.
It should be, I think, just something like ‘for s in self.steps: “do” definition’ or something.

How I ‘should’ run a loop? The examples on the internet do not comply with my code, maybe I have to rewrite my code, but, maybe it is just something small I do not see.

Can you see what I am doing wrong when trying to loop the code?

Thanks in advance for your response.