/
rnekrasov
/
Python
Обзор
Документация
Войти
/
rnekrasov
/
Python
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
simpleInterest.py
5 строк
239 B
slowy07
refactor: clean code
30 янв 2022, 04:33
30 янв 2022, 04:33
f0af0c4
Код
Авторство
О чём код?
principle = float(input("Enter the principle amount:")) time = int(input("Enter the time(years):")) rate = float(input("Enter the rate:")) simple_interest = (principle * time * rate) / 100 print("The simple interest is:", simple_interest)