So like, i'd want
i,j = 3,3
for i in range(10):
j = i
print(i,j)
to print me "3 9", but in reality it prints me "9 9". I'm coming from lua, and this is possible to do since a local variable "i" is automatically created for the cycle, so that there's an "i" that reaches 9 inside the loop, but there's still an "i" outside the loop that's still at 3.
Is this possible? Or do i must use a variable that has not previously been used?