- Docs »
- += Addition Assignment
- Edit on GitHub
Description¶
Adds a value and the variable and assigns the result to that variable.
Syntax¶
A += B
- A
- Any valid object.
- B
- Any valid object.
Return Value¶
According to coercion rules.
Time Complexity¶
#TODO
Remarks¶
Equivalent to A = A + B.
Example¶
>>> a = 10>>> a += 5>>> a15
See Also¶
#TODO