Solve Problems by Coding Solutions - A Complete solution for python programming
def compound_interest(principle, rate, time):
Amount = principle * (pow((1 + rate / 100), time))
CI = Amount - principle
print("Compound interest is", CI)
compound_interest(10000, 10.25, 5)
Post a Comment
No comments:
Post a Comment