Write a python function to calculate compound interest


Topic: Write a python function to calculate compound interest

Solution

def compound_interest(principle, rate, time): 
    Amount = principle * (pow((1 + rate / 100), time)) 
    CI = Amount - principle 
    print(f"Compound interest is {CI}")



List all Python Programs