Name

-= (subtract assign)

Examples
a = 50
b = 23
a -= b  # Sets 'a' to 27
Description Combines subtraction with assignment. The expression a -= b is equivalent to a = a - b.
Syntax
value1 -= value2
Parameters
value1int or float
value2int or float
Related += (add assign)
- (minus)
Updated on Tue Jul 11 06:52:24 2017.
Creative Commons License