If you want to overwrite your last line you need to add \r (character return) and end=”” so that you do not go to the next line.
values = range(0, 100)
for i in values:
print ("\rComplete: ", i, "%", end="")
print ("\rComplete: 100%")
If you want to overwrite your last line you need to add \r (character return) and end=”” so that you do not go to the next line.
values = range(0, 100)
for i in values:
print ("\rComplete: ", i, "%", end="")
print ("\rComplete: 100%")