title: Return sum of negative and positive floating point numbers
body: <p>I'm trying to create a function that takes a list of floating points and returns a list of two numbers, which is equal to the sum of all positive and all negative floating points. For example:</p>
  
  <pre><code>statement([30.95, -15.67, 45.56, -55.00, 43.78])
  returns [-70.67, 120.29]
  </code></pre>
  
  <p>Here's what 've been able to do so far:</p>
  
  <pre><code>res= []
  for i in range(len(l)-1):
      for j in range(i,len(l)):
          if l[i]&gt;=l[i+1]:
              res = 
  return res
  </code></pre>
  
  <p>But I'm kind of stuck. Can anyone help me understand this a little better?</p>