Blog Status: Draft (In the progress of adding more explanation at each step) but is 90% complete
On Day 2, we created a Coin Flip App to demonstrate Import, If-Else, For Loop, Red From User Input, Random Number, and Logging.
Today, let’s create a Python Quiz App that should be useful for studying for quizzes. This project demonstrates a few more core python concepts (Dictionary, Function, Read from a File).
Below are the steps to create the Python Quiz App:
- Step 1: Create a
wordsdictionary, and randomly select an item to ask a question
- Step 2: Populate the
wordsdictionary from a CSV file
- Step 3: Ask the user to choose which quiz to take, then randomly select a question from that quiz
- Step 4: Ask the user to select a quiz category, then ask randomly selected questions from a randomly selected quiz
- Step 5: Further clean up code by creating a