I have a for loop as follow:
Region = ['A', 'B', 'C', 'D', 'E']
i = 5
for Region in Region:
rr = q * s.at[i+1, 'Value']
tt = w * s.at[i+1, 'Value']
yy = e * s.at[i+1, 'Value']
print(Region, rr, tt, yy)
i +=1
the output is:
A 2 5 3
B 6 2 117
C 23 875 42
D 71 26 125
E 65 24 11
How can I save its outputs in a dataframe?