title: trying to remove an element from an array and add positive integers python
body: <p>I am working on my programming skill and I am caught up on removing a negative element from the array and adding the rest of the elements. My Idea was to evaluate each element to see if they are negative or not. If they are, take it out of the array. Here is what I got so far. </p>
  
  <pre><code> arr = [1,-2,3,4,5]
  
  for a in arr:
      if a &gt; 0:
           #i need to remove the element if it is equal
  </code></pre>