CodePudding user response:
useful, ZHZ=1427000000,
0.00381Yd, ydz=1354050000,
0.0104
Year=2018
Def calc (ydata, z) :
Return ydata * (1 + z)
While useful & gt;=yd:
Useful=calc (useful, ZHZ)
Yd=calc (yd, ydz)
Year +=1
Print (useful, yd, year)
CodePudding user response:
useful, ZHZ=1427000000,
0.00381Yd, ydz=1354050000,
0.0104
Year=2018
Def calc (ydata, z) :
Return ydata * (1 + z)
While useful & gt;=yd:
Useful=calc (useful, ZHZ)
Yd=calc (yd, ydz)
Year +=1
Print (useful, yd, year)