Python programs coding series - Calculating Simple Interest
Calculating Simple interest
#Calculate Simple interest #Formula : Simple Intesrest= Principal* No of Years* Rate of Interest/100 principal = int(input("Enter the principal amount invested: ")) years = int(input("Enter the number of Years to invest : ")) interest_rate = float(input("Enter the rate of Interest : ")) simple_interest = principal * years *interest_rate / 100 print("Simple Interest availed: "+str(simple_interest))
No comments