This Python program allows users to answer a quiz based on a set of questions stored in a JSON file. Users can customize the quiz by adding their own questions and answers to the questions.json file.
Important
This program is no longer actively maintained or supported. Feel free to use it as-is, but there may be bugs or issues that have not been addressed. Consider using alternative solutions for similar functionality.
-
Clone the repository:
git clone https://github.com/Renzie2161/SimpleQuiz.git cd SimpleQuiz -
Customize the quiz questions:
- Open the
questions.jsonfile. - Modify the file by adding new questions in the format
"Question": "Answer". - Save the file.
- Open the
-
Run the program:
python main.py
-
Answer the quiz questions that appear in the terminal. Answers must match exactly, including spaces, symbols, commas, and periods.
Suppose you want to add a question about Japanese letters:
{
"What is the Japanese word for 'sun'?": "日",
"Translate '初めまして' to English!": "Nice to meet you",
}This project is licensed under the MIT License - see the LICENSE file for details.