title: Noob Question How would I update a print a function's output without creating a new line in my term in python3?
body: <p>I'm not exactly sure how to word this to be honest, but here's a simplified version of my current code.</p>
  
  <pre><code>for idx in range(0,11):
      print('Failed:',idx)
  </code></pre>
  
  <p>This outputs:</p>
  
  <pre><code>Failed: 0
  Failed: 1
  Failed: 2
  Failed: 3
  Failed: 4
  Failed: 5
  Failed: 6
  Failed: 7
  Failed: 8
  Failed: 9
  Failed: 10
  </code></pre>
  
  <p>I'm trying to replace the original int with the next int in the range instead of spamming my terminal with a new line for every int in the range.</p>
  
  <p>How could I update "Failed: 1" to "Failed: 2" without creating a new line for "Failed: 2"?</p>
  
  <p>Sorry if this is poorly worded, if you're willing to help me but like me to elaborate further please say so and I will try my best.</p>