实例天天向上的力量

def dayup(fd):
day = 1
for i in range(365):
dayup = dayup*(1-0.01)
else:
dayup = dayup*(1+fd)
retrun dayup
dayfactor = 0.01
while dayup(dayfactor)<37.78:
dayfactor  += 0.001
print("工作努力:{.3f}".format(dayfactor))

 

posted @ 2018-10-25 11:47  任小炎  阅读(139)  评论(0编辑  收藏  举报