It’s an assignment operator shorthand for
x = 12
x /= 3 # equivalent to x = x / 3
If you use
help('/='), you can get the full amount of symbols supported by this style of syntax (including but not limited to
*=), which I would strongly encourage.