Guest User

Untitled

a guest
Jan 18th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. def Tot(balance):
  2.     i=0
  3.     while i<=11:
  4.         balance=balance*(1+annualInterestRate/12)
  5.         i+=1
  6.     return balance
  7.  
  8. z=Tot (balance)
  9.  
  10. def Price(z):
  11.     n=10
  12.     while (z-n*12)>=0:
  13.         n+=10
  14.     return n        
  15. x=Price(z)
  16. print ('Lowest Payment: '+str(x))
Add Comment
Please, Sign In to add comment