def runq1(i, return_dict): start = clock() output = question01(i) end = clock() diff = end - start return_dict['output'] = output return_dict['diff'] = diff
def runq1(i, return_dict): start = clock() output = question01(i['initialLevelOfDebt'], i['interestPercentage'], i['repaymentPercentage']) end = clock() diff = end - start return_dict['output'] = output return_dict['diff'] = diff
def runq1(q1input, return_dict): start = clock() i = json.loads(q1input.replace(" ", "")) output = question01(i['initialLevelOfDebt'], i['interestPercentage'], i['repaymentPercentage']) end = clock() diff = end - start return_dict['output'] = output return_dict['diff'] = diff