This commit is contained in:
2015-07-06 10:07:03 -04:00
commit 0e0ad512b0
13 changed files with 706 additions and 0 deletions

View File

@ -0,0 +1,9 @@
## Mortgage Calculator
Make a mortgage calculator that returns your monthly payments based on the following mortgage equation:
M = P( i/12( 1+i/12 )^n )/( ( 1+i/12 )^n - 1 )
Check out the assert test given. See if you can write two more 'assert' statements.
Make a table that shows all of the monthly payments and the change in balance based on the payments

View File

@ -0,0 +1,4 @@
def mortgage_calculator():
pass
assert mortgage_calculator(100000, 0.05, 120) == 1060.66, str(mortgage_calculator(100000, 0.05, 120)) + " != 1060.67"