This is a beginner-friendly Quiz App built in Python. The app presents users with a set of questions and provides immediate feedback on their answers. At the end of the quiz, users receive their final score.
- A set of five questions covering a range of topics such as general knowledge, mathematics, and literature.
- Instant feedback: users are informed whether their answers are correct or incorrect immediately after responding.
- Case-insensitive answer checking.
- Final score displayed at the end of the quiz.
-
Clone or download the repository to your local machine:
git clone https://github.com/komoire/simple-quiz-app.git
-
Navigate into the project folder:
cd simple-quiz-app
-
Run the Python script:
python quiz_app.py
Welcome to the Quiz App!
------------------------
What is the capital of France? Paris
Correct!
What is 5 + 7? 12
Correct!
What is the largest planet in our solar system? Mars
Wrong! The correct answer is Jupiter
What is the square root of 64? 8
Correct!
Who wrote 'To Kill a Mockingbird'? J.K. Rowling
Wrong! The correct answer is Harper Lee
Your final score is 3/5