This is my 1st Daily Tips for programmer.
There's no wrong with that code above. But we can simplify with Augmented Assignments. Basically, an Augmented assignment is generally used to replace a statement where an operator takes a variable as one of its arguments and then assigns the result back to the same variable.
Let's see other simple math operation