Write a function to calculate the simple interest for principal p, rate r and time in years y


Topic: Write a function to calculate the simple interest for principal p, rate r and time in years y

Solution

def get_si(p:float, r:float, t:float)->float:
    return (p*r*t)/100



List all Python Programs