Python Program for simple interest

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

def main():

print(simple_intrest(p,r,t))

if __name__=='__main__':

main()

6 views

Recent Posts

See All

"Believe you can and you're halfway there"