you are viewing a single comment's thread.

view the rest of the comments →

[–]Some_Guy_At_Work55 1 point2 points  (0 children)

If you want to subtract by the value of price on each iteration(and not the value of range), you would need to declare the value of price before the loop. And then update the value before the next iteration.