title: Python: deleting the nth acharcter in console
body: <p>example output estimate of pi:</p>
  
  <pre><code>3.13658765
  </code></pre>
  
  <p>then a new better estimate comes along. Say, 3.1416232. </p>
  
  <p>So I find the first character in the old estimate that doesn't match the new. In this case, it is the 4th character.</p>
  
  <p>Question: Is there a way to delete the 4th character in console(and then repeat this until all characters after 3.1 are gone) so that I can then print the new, better values for each of those characters? </p>
  
  <p>Note: I don't want to delete everything and console and then reprint, as this would get considerably slower as the number of digits increases.</p>