import time
print("0%",end='')
time.sleep(2)
print("\r1%",end='')
time.sleep(2)
print("\r2%",end='')
time.sleep(2)
print("\r5%",end='')
time.sleep(2)
print("\r10%",end='')
time.sleep(2)
print("\r90%",end='')
time.sleep(2)
print("\r100%",end='')
原文:https://www.cnblogs.com/heenhui2016/p/11423654.html