Week 3 Programming Assignment Exercise 7 subtract AND operator -= update parameter

It turns out that those two lines result in the same output value, but they are not equivalent in terms of how they handle memory. Here’s a thread which explains why -= does not work for this particular test case unless you take some additional action.