Python Program for Simple Interest

amt=int(input("Enter the Amount: "))
y=int(input("Enter the Number of Years: "))
r=float(input("Enter the Rate of Interest: "))
i=(amt*y*r)/100
print("Simple Interest: ",i)

Output:

Python Program for Simple Interest

Leave a Reply

Your email address will not be published. Required fields are marked *