title: Print real roots only in numpy
body: <p>I have something like this:</p>
  
  <pre><code>coefs = [28, -36, 50, -22]
  print(numpy.roots(coefs))
  </code></pre>
  
  <p>Of course the result is:</p>
  
  <pre><code>[ 0.35770550+1.11792657j  0.35770550-1.11792657j  0.57030329+0.j ]
  </code></pre>
  
  <p>However, by using this method, how do I get it only to print the real roots if any (as floats)? Meaning just this for my example:</p>
  
  <pre><code>0.57030329
  </code></pre>