title: Python progress bar using tqdm
body: <p>I have written the code below using tqdm module, but I am not getting the output in a single line.</p>
  
  <pre><code>from tqdm import tqdm
  import time
  
  for i in tqdm(range(10)):
     print('Hello')
     time.sleep(3)
  
  10%|█         | 1/10 [00:03&lt;00:27,  3.00s/it]Hello
  20%|██        | 2/10 [00:06&lt;00:24,  3.00s/it]Hello
  30%|███       | 3/10 [00:09&lt;00:21,  3.00s/it]Hello
  40%|████      | 4/10 [00:12&lt;00:18,  3.00s/it]Hello
  50%|█████     | 5/10 [00:15&lt;00:15,  3.00s/it]Hello
  60%|██████    | 6/10 [00:18&lt;00:12,  3.00s/it]Hello
  70%|███████   | 7/10 [00:21&lt;00:09,  3.00s/it]Hello
  90%|█████████ | 9/10 [00:27&lt;00:03,  3.00s/it]Hello
  100%|██████████| 10/10 [00:30&lt;00:00,  3.00s/it]Hello 
  </code></pre>