My code is something like this:
I need a for cycle, but the start of the cycle depends on a parameter. So I would like that my code behave like this in case of param = 1:
but for param = 2 it should be:
How to do this in general?