Hello everyone!
I ask for your help in using the for statement for repetitive tasks.
The script I want to change is:
As1 = curve[‘A1’]
As2 = curve[‘A2’]
As3 = curve[‘A3’]
As4 = curve[‘A4’]
As5 = curve[‘A5’]
As6 = curve[‘A6’]
As7 = curve[‘A7’]
As8 = curve[‘A8’]
…
As1000 = curve[‘A1000’]
I want to call a function called curve 1000 times and assign it to each variable.
How should I use the for statement?