如何按日升级?电报bot pyTelegramAPI

时间:2019-10-12 06:48:32

标签: python json python-3.x telegram telegram-bot

将是使用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%,救救我!

0 个答案:

没有答案
相关问题