title: Function does not remove second integer
body: <pre><code>    def sumUp(array):
          for row in array:
              if row &gt; 5:
                  array.remove(row)
          add = sum(array)
          return add
  </code></pre>
  
  <p>The array is <code>[1, 20, 20, 5, 50, 2, 2, 1]</code></p>
  
  <p>The array returned is <code>[1, 20, 5, 2, 2, 1]</code></p>
  
  <p>I was wondering where I went wrong since that 20 is still in the array.</p>