📜  简单的python程序 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:40.828000             🧑  作者: Mango

代码示例1
principle=float(input("Enter the principle amount:"))
time=int(input("Enter the time(years):"))
rate=float(input("Enter the rate:"))
simple_interest=(principle*time*rate)/100
print("The simple interest is:",simple_interest)