python program for simple interest | python programs example

Опубликовано: 27 Апрель 2023
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн python program for simple interest | python programs example длительностью online в хорошем качестве, которое загрузил пользователь indian cyber education 27 Апрель 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 522 раз и оно понравилось 60 зрителям. Приятного просмотра!