title: Countdown Clock: 01:05
body: <p>How can I create a countdown clock in Python that looks like 00:00 (min &amp; sec) which is on a line of its own.  Every time it decreases by one <em>actual</em> second then the old timer should be replaced on its line with a new timer that is one second lower:
  <code>01:00</code> becomes <code>00:59</code> and it actually hits <code>00:00</code>.</p>
  
  <p>Here is a basic timer I started with but want to transform:</p>
  
  <pre><code>def countdown(t):
      import time
      print('This window will remain open for 3 more seconds...')
      while t &gt;= 0:
          print(t, end='...')
          time.sleep(1)
          t -= 1
      print('Goodbye! \n \n \n \n \n')
  
  t=3
  </code></pre>
  
  <p>I also want to make sure that anything after <code>Goodbye!</code> (which would most likely be outside of the function) will be on its own line.</p>
  
  <p><strong>RESULT:</strong> <code>3...2...1...0...Goodbye!</code></p>
  
  <p>I know this is similar to other countdown questions but I believe that it has its own twist.</p>