In the operator module, there is a method that is called isub, which takes two parameters, and dividing the first parameter in the second one.
Visual Studio Code says it does this: Same as a -= b, How?
In my example, I'm creating a variable called a and assigning 5 as its value, and then using the isub method, and saving the result into a variable, and then printing the result and a, but a is still 5, why?
import operator
a = 5
result = operator.isub(a, 4)
print(result) # 1
print(a) # 5