title: Removing all commas from list in Python
body: <p>My issue: I'd like to add all the digits in this string <code>'1.14,2.14,3.14,4.14'</code> but the commas are causing my sum function to not work correctly.<br>
  I figured using a strip function would solve my issue but it seems as though there is still something I'm missing or not quite understanding.</p>
  
  <pre><code>total = 0
  for c in '1.14,2.14,3.14'.strip(","):
      total = total + float(c)
  print total
  </code></pre>
  
  <p>I have searched how to remove commas from a string but I only found information on how to remove commas from the beginning or ending of a string.  </p>
  
  <p>Additional Info: Python 2.7</p>