Sichanov

03

Nov 1st, 2020
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. deposit = float(input())
  2. months = int(input())
  3. yearly_interest_percent = float(input())
  4. monthly_interest = deposit * yearly_interest_percent / 100 / 12
  5. final_sum = deposit + months * monthly_interest
  6. print(final_sum)
  7.  
Advertisement
Add Comment
Please, Sign In to add comment