➽ Program:-

P = float(input("Enter Principal Amount: "))

N = float(input("Enter Number in years: "))

R = float(input("Enter Rate of Interest: "))

 

Simple_Interest = (P * N * R) / 100

 

print("Simple Interest = ",round(Simple_Interest,2))

➽ Output:-

Enter Principal Amount: 1700
Enter Number in years: 3
Enter Rate of Interest: 6.7
Simple Interest =  341.7