An in place operator is basically a method of shortening some operators. For example rather than writing out the operation for “x = x + 3” you can just write the operator “x += 3” – both are the same and both will produce the same result.
The same kind of operation can be achieved for subtraction (-), multiplication (*), division (/), and remainder (%).
>>> x = 2
>>> print += 3
In addition to numerical operations, in place operators can also be used on strings, for example:
>>> x = “Hello ”
>>> x += “World”