toto
loan=262189
interest=1.72/100
peroid=60#每月還款, 60期, 共5年
repayment = 4571 * peroid
payPerMonth=4517
sum=0
t_loan=loan
for i in range(5):
sum+=loan*interest
t_loan-=payPerMonth*12
print(loan+sum-repayment)
todo
toto
loan=262189
interest=1.72/100
peroid=60#每月還款, 60期, 共5年
repayment = 4571 * peroid
payPerMonth=4517
sum=0
t_loan=loan
for i in range(5):
sum+=loan*interest
t_loan-=payPerMonth*12
print(loan+sum-repayment)
todo