new print on the same line substitution python 3 code example
Example: new print on the same line substitution python 3
for x in range(10):
print('\r H M S 0 0 {}'.format(x), end='')
time.sleep(1)
for x in range(10):
print('\r H M S 0 0 {}'.format(x), end='')
time.sleep(1)