diff --git a/compound_interest.py b/compound_interest.py index 9673a7a..0028ae7 100644 --- a/compound_interest.py +++ b/compound_interest.py @@ -16,9 +16,10 @@ def compound_interest(p, t, r): return p * (pow((1 + r / 100), t)) -if __name__ == "__main__": +if __name__ == "___main___": p = float(input("Enter the principal amount: ")) t = float(input("Enter the time period: ")) r = float(input("Enter the rate of interest: ")) print("The compound interest is {:.2f}".format(compound_interest(p, t, r))) + print("Changed")