Operator Name Example
= Assignment operator a = 7; // 7
+= Addition assignment a += 5; // a = a + 5
-= Subtraction Assignment a -= 2; // a = a - 2
*= Multiplication Assignment a *= 3; // a = a * 3
/= Division Assignment a /= 2; // a = a / 2
%= Remainder Assignment a %= 2; // a = a % 2
**= Exponentiation Assignment a **= 2; // a = a**2
x = 13 //Assigns value 13 to x
x += 13 // x = x + 13
x -= 13 // x = x - 13
x *= 13 // x = x * 13
x /= 13 // x = x / 13
x %= 13 // x = x % 13
x **= 13 // x = x ** 13