Skip to content

komoireashiraf/quiz-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Simple Quiz App!

Overview

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.

Features

  • 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.

Usage

  1. Clone or download the repository to your local machine:

    git clone https://github.com/komoire/simple-quiz-app.git
    
  2. Navigate into the project folder:

    cd simple-quiz-app
    
  3. Run the Python script:

    python quiz_app.py

Example Output.

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages