archpablo / loan-calculator Goto Github PK
View Code? Open in Web Editor NEWScript on the argparse module. It accepts as arguments the type of payments (annuity or differentiated), the loan amount, the interest rate, and the period. The script calculates one missing parameter out of five possible ones and displays the calculations on the screen, adding the amount of the overpayment on the loan.