Generation

generate functionThu, 02 Feb 2023

find the compound interest of principle 100, rate 5%, duration 5 years

def compound_interest(principle, rate, duration): return principle*(1+(rate/100))**duration compound_interest(100,5,5)

Want to kickstart your project?Use the new AI Studio to create your code