Python program to find simple interest

 

    Python program to find simple interest

time=float(input("Enter year"))

roi=float(input("Enter rate of interest"))

amount=int(input("Enter principle amount:"))

PI=(time*amount*roi)/100

print("The simple interest is:",PI)

Output:

Enter year5

Enter rate of interest12.5

Enter principle amount:10000

The simple interest is: 6250.0

टिप्पणी पोस्ट करा

0 टिप्पण्या