https://github.com/tanvirhasanprince/quiz-game-with-python
This is a simple Python program that quizzes users on computer-related questions.
https://github.com/tanvirhasanprince/quiz-game-with-python
python python3
Last synced: 2 months ago
JSON representation
This is a simple Python program that quizzes users on computer-related questions.
- Host: GitHub
- URL: https://github.com/tanvirhasanprince/quiz-game-with-python
- Owner: TanvirHasanPrince
- Created: 2024-03-17T22:07:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-17T22:10:50.000Z (about 1 year ago)
- Last Synced: 2025-01-25T09:09:09.322Z (4 months ago)
- Topics: python, python3
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Computer Quiz
This is a simple Python program that quizzes users on computer-related questions.
## Code Overview
The `quiz_game.py` file contains Python code that asks users a series of computer-related questions and provides feedback on their answers.
The program starts with a welcome message and asks the user if they want to play the quiz. If the user agrees, the quiz begins. For each question, the user is prompted to input their answer. If the answer is correct, the program prints "Correct answer!" and increases the score by 1. If the answer is incorrect, the program prints "Incorrect Answer!" without modifying the score.
After answering all the questions, the program prints the user's final score.