diff --git a/Python3 program to find compound b/Python3 program to find compound new file mode 100644 index 0000000..03f088d --- /dev/null +++ b/Python3 program to find compound @@ -0,0 +1,12 @@ +# Python3 program to find compound +# interest for given values. + +def compound_interest(principle, rate, time): + + # Calculates compound interest + Amount = principle * (pow((1 + rate / 100), time)) + CI = Amount - principle + print("Compound interest is", CI) + +# Driver Code +compound_interest(10000, 10.25, 5)