user3700852 user3700852 - 1 year ago 97
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 Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download