title: Python3.3: Square-root optimization
body: <p>Here the code on Python3.3:</p>
  
  <pre><code>import sys, re, math
  str1 = str(sys.stdin.readlines())
  Data = re.findall('\\b\\d+\\b', str1)
  
  for i in reversed (Data):
      print('%.4f' % math.sqrt(float(i)))
  </code></pre>
  
  <p>as you can see, this program grabs data (multi-line random string) from input, and search for every digits this string contains.
  After that just returns square root of every digit it finds.</p>
  
  <p>Well, algorithm works, but not fast enough, and i have no idea how to optimize it.
  Please help me with that. What i need to do to optimize code above?</p>