将是使用pytelegramApi的电报机器人
我希望获得如下帮助,我想知道如何为下面的计算做以下工作。我对此并不陌生,一周前就被困在其中
有一个会计来每天更新一次是一个好主意吗?
x=(float(input('Let me know how much you invest and earn 0.5% per day?'))
result=(x)+(0.5/100)
print(result)
#first day for 24 hours
print(x) #<--------is the value that people enter for deposit
#after 24 hours the next day already shows
print(result) #<----where every day it increases 0.5%
那么我需要第一天将她作为正常的投资价值,第二天她将增加0.5%,救救我!