python program for simple interest | python programs example

Publicado em: 27 Abril 2023
no canal de: indian cyber education
522
60

python program for simple interest | python programs example
Simple interest formula is given by: Simple Interest = (P x T x R)/100 Where, P is the principal amount T is the time and R is the rate

What is ‘Simple Interest’?
Simple interest is a quick method of calculating the interest charge on a loan. Simple interest is determined by multiplying the daily interest rate by the principal by the number of days that elapse between payments.


#Python3 program to find simple interest
for given principal amount, time and
rate of interest.


def simple_interest(p,t,r):
print('The principal is', p)
print('The time period is', t)
print('The rate of interest is',r)

si = (p * t * r)/100
print('The Simple Interest is', si)

simple_interest(8, 6, 8)

We can calculate the simple interest by taking P,T and R from the user.

#pythonprogramming #pythonprograms #pythonprogramtofindsimpleinterest #indiancybereducation #python3 #python3x #python #simpleinterest #programmingtutorial


Nesta página do site você pode assistir ao vídeo on-line python program for simple interest | python programs example duração online em boa qualidade , que foi baixado pelo usuário indian cyber education 27 Abril 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 522 vezes e gostou 60 espectadores. Boa visualização!