Whenever you see a linear pattern in the names, the same thing can be done with an index.

MyVar1 = MyVar[1-1]
MyVar2 = MyVar[2-1]
MyVar3 = MyVar[3-1]
...

To do something with each element,...