I want to show only one item at the screen I guess this should be done with print(..., flush=True) but it don't work as I expected.
for i in range(0,100):
print(i, end='', flush=True)
Now I get a numbers like this 012345678....
and what I want to see at the screen is only one number without seeing previous prints so with first iteration it shows only 0
second shows only 1
, I thought flush would do the trick but it didn't so where am I wrong?