in financial_functions/core.py [0:0]
def fvschedule(principal, schedule=[]): """ Calculates future value with a variable interest rate schedule. """ return functools.reduce(lambda x, y: x + (x * y), schedule, principal)