Speed up development with full-stack environments for every branch.

Learn More

Quiz - Flask Session example [Python and sessions]

Forked from Basic Flask Example.

1240 Runs 5571 Views 1765 Copies


lgp171188 18

published 4 years ago


Quiz - Flask Session example

This is a quiz application containing 5 questions that the user has to answer to complete the quiz. The current question which the user has to answer is saved and tracked using a session variable so that user cannot go back or ahead without answering some questions.

When the user completes the quiz, a success message is shown and even on refresh the same page is shown as the completion of the quiz is saved and tracked using session variables.

Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).