write a python3 program to find simple interest
python3 :
# python3 program to find simple interest# for given principal amount , time and rate of interest def simple_interest(p,t,r) : return (p * t * r)/100 # Driver codea =int(input('The principal amount is ')) b =int(input('The time period is ')) c =int(input('The rate of interest is ')) print('The Simple Interest is = ',simple_interest(a,b,c))
Comments
Post a Comment