I want to make variables inside a for loop like this :
for i in range(1,4): qi = i
the answer I want is that :
q1 = 1 q2 = 2 q3 = 1
How can I do that in python ? thanks
It would be much easier to just use a list:
q = range(1, 4)