title: Python sign loading, overwriting console line
body: <p>So I have this code and I have no idea how to run it in only one line by just overwriting the previous output if you know what I mean. Here is the code:</p>
  
  <pre><code>import time
  
  signs = ["|", "/", "-", "\\"]
  while True:
      for i in range(4):
           print("\r" + signs[i].format(i))
           time.sleep(1)
  </code></pre>
  
  <p>I would be very pleased if you could help me</p>