def get_notes(notekey): if 'slope' in notekey: return slope(notekey) elif 'tangent' in notekey: return tangent(notekey) elif 'under_construction' in notekey: return 'The rest of this unit is under construction; please check back at a later time!'
def get_problem(problem_name): if 'loclin' in problem_name: return loclin(problem_name) elif 'lim' in problem_name: return limits(problem_name) elif 'slope' in problem_name: return slope(problem_name) elif 'tangent' in problem_name: return tangent(problem_name) elif 'derivative' in problem_name: return derivative(problem_name)