Having the following code as a base:
for x in range(100):
print("{}%".format (x))
How could it be done so that instead of each value appeared on a different line but instead replaced on the same line.
Example in place of terminal:
1
2
3
4
5
Have the first 1 after it "disappears" and appear the 2 and so on until you reach the 5?
I know you can do this using C .