The US State Capitals Quiz Generator is a Python program built with Tkinter that automates the creation of unique quizzes on US state capitals for educational purposes. It randomizes the order of questions, provides multiple-choice options, and generates quizzes and answer keys in text files.
- Generates 35 unique quizzes.
- Creates 50 multiple-choice questions for each quiz.
- Provides the correct answer and three random wrong answers for each question.
- Writes quizzes and answer keys to separate text files.
- Offers an appealing graphical user interface (GUI) using Tkinter.
-
Clone the repository to your local machine:
git clone https://github.com/alriyadsouza/Brain_Teasers_Galore.git cd us-state-capitals-quiz-generator
-
Install the required libraries using requirements.txt: pip install -r requirements.txt
-
Run the script: python quiz_generator.py
-
The GUI will open. Fill in the desired number of quizzes, questions per quiz, and output folder.
-
Click the "Browse" button to select the output folder.
-
Click the "Generate Quizzes" button to generate quizzes and answer keys.
- Python 3.x
- Tkinter (included in the standard library)
- Pillow (pip install Pillow)
- Contributions are welcome! If you find any issues or want to enhance the project, feel free to submit pull requests or open issues.