title: Python operators workflow =+ and +=
body: <p>what is the exact difference between these operators "+=" and "=+" in python?</p>
  
  <p>for same input <code>[0,3,6]</code></p>
  
  <p>Program 1:         </p>
  
  <pre><code>def total(numbers):
      result = 0
      for i in range(0, len(numbers)):
          result =+ numbers[i]
      return result
  
  # output: 6
  </code></pre>
  
  <p>Program 2:</p>
  
  <pre><code>def total(numbers):
      result = 0
      for i in range(0, len(numbers)):
          result += numbers[i]
  
      return result
  
  # output: 9
  </code></pre>