import time
for i in range(101):
print('\r{:3}%'.format(i),end = '')
time.sleep(0.1)
print('')
print("------执行完成------")
import time
for i in range(101):
print('\r{:3}%'.format(i),end = '')
time.sleep(0.1)
print('')
print("------执行完成------")