python overwrite print on same line

Solutions on MaxInterview for python overwrite print on same line by the best coders in the world

showing results for - "python overwrite print on same line"
Ida
15 May 2017
1import time
2for j in range(1,5):
3   print('waiting : '+j, end='\r')
4   time.sleep(1)