title: Save list to csv with two decimal digits in python?
body: <p>I have data which looks like </p>
  
  <pre><code>[('A',5.3748),('B',8.324203),('C',3.492)]
  </code></pre>
  
  <p>I'm saving it to a csv with the following lines:</p>
  
  <pre><code>with open('output.csv','wb') as fp:
      a = csv.writer(fp,delimiter = ",")
      a.writerows(data)
  </code></pre>
  
  <p>Works like a charm except that I would like to display my values with only two decimal digits. Earlier in my code I zip two lists to get the data. So I could make the change before if need be.</p>
  
  <p>Thanks!</p>