This commit is contained in:
2023-09-22 10:02:55 -04:00
commit 44e64fcbdb
30 changed files with 1082 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"