Multiplication Assignment¶
Multiplication assignment operator (*=
) can be used multiply and assign value to a variable.
Syntax
variable *= expr
Example
a *= 3
b *= 4
Multiplication assignment operator (*=
) can be used multiply and assign value to a variable.
variable *= expr
a *= 3
b *= 4