So let's say i have the current code:
import time
now = time.time()
future = now + 10
while time.time() < future:
print(time.time())
pass
and when running it, i get:
1602289187.9999743
1602289187.999989
1602289188.000001
1602289188.0000124
1602289188.0000281
1602289188.0000439
1602289188.0000587
1602289188.0000732
1602289188.0000875
1602289188.0001028
1602289188.0001178
1602289188.0001347
...
As result. Now what i want is to only show the updated string, without showing previous one (basically without printing the new result on a newline, but replacing the old one instead, and only showing a single line with updated count).
How can i do that?