desislava_topuzakova

03. Deposit Calculator

Mar 9th, 2021
660
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1. # сума = депозирана сума  + срок на депозита * ((депозирана сума * годишен лихвен процент ) / 12)
  2.  
  3. deposit_sum = float(input())
  4. months = int(input())
  5. percent = float(input())
  6.  
  7. sum = deposit_sum + months * ((deposit_sum * (percent / 100)) / 12)
  8. print(sum)
Advertisement
Add Comment
Please, Sign In to add comment