Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11b0a83 commit e030d69Copy full SHA for e030d69
Solutions/1_10/mortgage.py
@@ -15,7 +15,7 @@
15
principal = principal * (1+rate/12) - payment
16
total_paid = total_paid + payment
17
18
- if month >= extra_payment_start_month and month < extra_payment_end_month:
+ if month > extra_payment_start_month and month <= extra_payment_end_month:
19
principal = principal - extra_payment
20
total_paid = total_paid + extra_payment
21
0 commit comments