Simple Intrest | Python programming

preview_player
Показать описание
Code used in this program

# Python program to calculate simple interest
# store the inputs
P = float(input('Enter principal amount: '))
R = float(input('Enter the interest rate: '))
T = float(input('Enter time: '))
# calculate simple interest
SI = (P * R * T) / 100
# display result
print('Simple interest = ',SI )
print('Total amount = ',( P + SI ))

#python #trending #beginners #shorts #shortvideo #youtube #youtubeshorts #coding
Рекомендации по теме
join shbcf.ru