N = int(input("请输入N值:(0<N<10)"))x = (1+float(N)/1000)**365y = (1-float(N)/1000)**365print(format(x,'.2f'), format(y,'.2f'), round(x/y))
结果: