title: Python List Division Having multiple values
body: <p>Let's say I have a list:</p>
  <pre><code>[('66.162.222.50', 4), ('88.112.19.251', 4), ('207.241.237.226', 3), ('207.241.237.224', 2), ('207.241.237.103', 2), ('74.125.19.82', 1)] 
  </code></pre>
  <p>That has the IP address and the count of duplicate IP addresses found in a log: <code>('IP address', count)</code></p>
  <p>What would be the easiest way for me to create a new list that would consist of the same IP addresses but would change the count to a percentage of total amount? Meaning that in this example we have a total of 4+4+3+2+2+2 which equals to 16 IP addresses, so the new list should look like this:</p>
  <pre><code>[('66.162.222.50', 0.25), ('88.112.19.251', 0.25), ('207.241.237.226', 0.1875), ('207.241.237.224', 0.125), ('207.241.237.103', 0.125), ('74.125.19.82', 0.0625)]
  </code></pre>
  <p>Thank you in advance</p>