Python Data-Scraping Differentiation - millions vs. ones : <p>I'm currently scraping some tables on the internet where numbers are posted in varying numerical formats:</p>

<pre><code>Animal - Left in Wild
Tigers - 18
Deer - 18m
Pigs - 180000
</code></pre>

<p>I've managed to strip the m away from the number, but I am wondering if/how I could use a if statement to allow some manipulation to ensure I document the number accurately:</p>

<pre><code>if animal.strip("m") == animal.strip("m"):
    left_in_wild = left_in_wild * 1000000
</code></pre>

<p><em>Obviously that code does not work, but it is a rough thought</em> of how I'm thinking about getting around this. If anyone can has anything they think can be helpful let me know.</p>

<p>Thank you!</p>
