title: Finding integers and floating point numbers in a list
body: <p>I'm trying to store in a list integers and floating point numbers, in order to maipulate them in a second moment. Now, I know that with these two commands</p>
  
  <pre><code>A = map(int, re.findall('\d+', string1))
  A = map(float, re.findall('\d+.\d+', string1))
  </code></pre>
  
  <p>But how can I adjust them in order to read (and store in order) in the list A both integers and floating point numbers?</p>