Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Minimum_payment=0
- annualInterestRate=.2
- balance=4773
- while (balance > 0):
- Minimum_payment=Minimum_payment+10
- total_payment=0
- for i in range(1,13):
- interest=(balance - Minimum_payment) * annualInterestRate/12
- balance=(balance - Minimum_payment+interest)
- print balance #TO DEBUG THE BALANCE
- print("Minimum Monutly Payment: " + str(Minimum_payment))
Add Comment
Please, Sign In to add comment