Operators and Expressions

Read this to learn more about operators and expressions.

It is common to run a math operation on a variable and then assign the result of the operation back to the variable, hence there is a shortcut for such expressions:

a = 2
a = a * 3


can be written as:

a = 2
a *= 3


Notice that var = var operation expression becomes var operation= expression .