标签:div import time() roc math proc print time ESS
import math import time s=10 t=time.process_time() for i in range(s+1): a,b=‘**‘*i,‘..‘*(s-i) c=(i/s)*100 π=4*(4*math.atan(1/5)-math.atan(1/239)) print("%{:3}[{}->{}]".format(a,b,c)) time.sleep(0.1) print(π) print("{:.2f}s".format(t))
标签:div import time() roc math proc print time ESS
原文地址:https://www.cnblogs.com/Glzt/p/12596423.html