[Python] Marking a free response quiz on Flask, Python, html

Discussão em 'Python' iniciado por Stack, Março 22, 2025.

  1. Stack

    Stack Membro Participativo

    Here I'm creating a trivia quiz with python, flask, html. I'm having trouble checking/ giving the results. I've my list of questions and answers stored in a sql database called questions.

    i print out the list of questions on questionpage.html. (quiz.html is where i get users to input how many qns/ category)

    but i'm not sure how to mark the quiz show what is incorrect/correct. i created a new html page called check.html. and i tried to loop through each of the question in quizquestions, but the thing is /questionpage router is a different router from /quiz and hence i can't assess the variable quizquestions

    Continue reading...

Compartilhe esta Página