コード例 #1
0
ファイル: main.py プロジェクト: qdonnellan/qCalculus
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!'
コード例 #2
0
ファイル: main.py プロジェクト: qdonnellan/qCalculus
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!'
コード例 #3
0
ファイル: main.py プロジェクト: qdonnellan/qCalculus
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)