""" Create the following functions. You can call them afterwards by typing in their function name and passing in any necesasry arguments to verify. """ """ Five. Create a function 'recurrence' which solves the following reccurence: r_n = r_n-1 + r_n-3 where r_0 = 1, r_1 = 2, r_2 = 5 """ """ Six. Create a function 'compound_interest' which takes as first argument the current balance, as second the number of months left and as third argument the monthly interest rate; and returns the compounded result """ # VALIDATING CODE def print_check(actual, expected): print("actual: " + str(actual) + " expected: " + str(expected)) print_check(recurrence(0), 1) print_check(recurrence(1), 2) print_check(recurrence(2), 5) print_check(recurrence(3), 6)