#DayDAyUp.py(天天向上的力量)
def dayUp(df):
dayup=1
for i in range(365):
if i%7 in [6,0]:
dayup=dayup*(1-0.01)
elif i%5 in [3,0]:
dayup=dayup
else:
dayup=dayup*(1+df)
return dayup
dayfactor=eval(input("请输入你想每天进步的数据:"))
print("一年的努力成果是:{:.3f}".format(dayUp(dayfactor)))