In this we are going to see a program for Simple Interest and Compound Interest in Python Programming Language.
pa = int(input("Enter The Principal Amount: "))
rate = int(input("Enter The Rate Of Interest : "))
time = int(input("Enter The Time Period : "))
rate=rate/100
simple_interest = (pa*rate*time)
compound_interest = pa*((1+rate/12)**(12*time)) - pa
print("The Simple Interest Is : ",simple_interest)
print("The Compound Interest Is : ",compound_interest)
#Coded By DHIRAJ SHELKE
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP