title: print python average with preicision
body: <p>I am looking to print the average of a data set in python and have the result print with a precision of 8 decimals.</p>
  
  <p>Here is my code now:</p>
  
  <pre><code> avg_to_print = the_sum / the_count
  
   print 'the average is ' + "%0.8f" % (avg_to_print)
  </code></pre>
  
  <p>This is calculating the correct number for me but for some reason it is only showing the int value (IE: it will show the answer as 100 instead of 100.12345678).</p>
  
  <p>Please help!</p>
  
  <p>Thanks!</p>