a += b is the same as a = a + b. This works with any arithmetic operators. One common use of this is
a += b
a = a + b
a = 42 a += 1
The effect of a += 1 is to increment a by 1.
a += 1
a