this repo includes task2 for DS internship.
The script calcualtes cumulative interest paid and accepts json file with the following structure:
{"interest": ,
"periods": ,
"loan": ,
"start": ,
"end": }
Interest is a percentage, periods are accepted in months. Assumption: payment is at the end of a period.