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

    else:
        return trivia.displaygame(num)