Relative Content

Tag Archive for python-3.xvariablesconcatenationincrement

Increment AND concatenate a variable in Python

I want to increment a variable in a loop to get x1, x2, x3, etc.
your textloop = 0
your textWhile loop < 4
your textxn = something, something else, something else again..
your textn += 1
your textloop += 1
At the end, I want to have x1, x2, x3 all equal to different things