Set 120 Practical Question

⭐ Q21. चक्रवृद्धि ब्याज (Compound Interest) निकालना

Example Code (Read Only):


prin = float(input("Enter Principal: "))
rate = float(input("Enter Rate: "))
time = float(input("Enter Time (years): "))
amt = prin * math.pow((1 + rate/100), time)
ci = amt - prin
print("Compound Interest =", ci)

Python Online Editor