🧠 Python General Knowledge Quiz
A simple command-line General Knowledge Quiz built using Python. It asks users multiple-choice/general questions, checks their answers, keeps score, and displays the final result.
✨ Features
- ❓ 5 General Knowledge questions
- ✅ Checks user answers
- 🎯 Score counter (+1 for each correct answer)
- 💬 Displays the correct answer if the user is wrong
- 🏆 Shows a winning message for a perfect score
- 🚪 Ends the quiz after displaying the final score
🛠️ Built With
- Python 3
📚 Concepts Used
- Variables
- User Input (input())
- Conditional Statements (if, else)
- String Methods (lower())
- Comparison Operators (==)
- Arithmetic Operators (+=)
- Print Statements
- Sequential Program Flow
🚀 How to Run
- Clone this repository:
git clone https://github.com/rajaryansingh23/GK-Quiz.git- Open the project folder:
cd GK-Quiz- Run the program:
python GK_quiz.py📂 Project Structure
GK-Quiz/
└── GK_quiz.py