1.每天努力0.001
import math
dayup = math.pow((1.0+0.001), 365)
daydown = math.pow((1.0-0.001), 365)
print("向上:{:.2f},向下:{:.2f}".format(dayup, daydown))
2.每天努力0.005
import math
dayup = math.pow((1.0+0.005), 365)
daydown = math.pow((1.0-0.005), 365)
print("向上:{:.2f}, 向下:{:.2f}".format(dayup, daydown))
3.引入变量
import math
dayfactor = 0.001
dayup = math.pow((1.0+dayfactor), 365)
daydown = math.pow((1.0-dayfactor), 365)
print("向上:{:.2f}, 向下:{:.2f}".format(dayup, daydown))



