SHARE
TWEET

Untitled

a guest Jan 20th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Minimum_payment=0
  2. annualInterestRate=.2
  3. original_balance=4773
  4. balance = original_balance
  5. while (balance > 0):
  6.     Minimum_payment=Minimum_payment+10
  7.     balance = original_balance
  8.     for i in range(1,13):
  9.   total_payment=total_payment+Minimum_payment
  10.    interest=(balance - Minimum_payment) * annualInterestRate/12
  11.    balance=(balance - Minimum_payment+interest)
  12.  
  13.    if balance > 0
  14.    break
  15.   
  16. print("Minimum Monutly Payment: " + str(Minimum_payment))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top