Skip to content

Commit 2730282

Browse files
committed
Complete exercise 1.10
1 parent 2bf019c commit 2730282

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Work/mortgage.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@
2020
principal = principal * (1+rate/12) - payment
2121

2222
total_paid = total_paid + payment
23+
print(months, total_paid, principal)
2324

24-
print('Total paid', total_paid, months)
25+
print('Total paid', total_paid)
26+
print('Months', months)

0 commit comments

Comments
 (0)