Name

+= (add assign)

Examples
a = 50
b = 23
a += b  # Sets 'a' to 73
c = "c"
c += "d"  # Sets 'c' to "cd"
d = [1, 2, 3]
d += [4]  # Sets 'd' to [1,2,3,4]
Description
Syntax
value1 += value2
Parameters
value1
value2
Related = (assign)
+ (addition)
-= (subtract assign)
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License