Python program for print in same line

 How to print same line in python

Program
import time
for x in range(10):
    time.sleep(1)
    print("Range is:",x,end='\r')



Comments