Skip to content

Commit dd75579

Browse files
authored
Updated amortization.py
Removed redundant code & shortened print
1 parent 5799348 commit dd75579

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

financial/amortization.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,3 @@ def amortization_schedule(
7878
schedule[-1][4] = 0.0
7979

8080
return round(pmt, 4), schedule
81-
82-
83-
pmt, sched = amortization_schedule(
84-
10000, 5.5, 15, payments_per_year=12, print_annual_summary=True
85-
)
86-
print(pmt)

0 commit comments

Comments
 (0)