top of page
Click here to go to the home page of AskTheCode.

Python Program for simple interest

Team ATC

Asked: Anonymously |Category: Python

 

p=eval(input("Enter the value of P : "))

r=eval(input("Enter the value of r : "))

t=eval(input("Enter the value of t : "))

def simple_intrest(p,r,t):

si=(p*r*t)/100

return si

print("my simple intrest is",simple_intrest(p,r,t))

 
 
 

Recent Posts

See All

Comments


bottom of page