def question01(): num = 1 if request.method == "POST": # Shows and process all of the questions return trivia.processquestion(num) else: return trivia.displaygame(num)
def question07(): num = 7 if request.method == "POST": return trivia.processquestion(num) else: return trivia.displaygame(num)