user3700852 user3700852 - 24 days ago 7
Python Question

Python: operator "+="

I do not understand an operator in the code below

for i in range(m):
c += a[i] * b[i]
return c


What is the meaning of
c += a*b
in python?

Answer