Giter Site home page Giter Site logo

python-quiz-script-with-40-questions's Introduction

Python Quiz

This Python quiz is an interactive command-line game that tests your knowledge of Python, MySQL, Pandas, Django, and NumPy. The quiz contains a total of 40 questions divided into the following categories:

  • 10 questions related to Python and MySQL
  • 10 questions related to Python and the Pandas library
  • 10 questions related to Python and the Django framework
  • 10 questions related to Python and the NumPy library

Each question has four possible options (A, B, C, or D), and the user is prompted to select the correct answer. The quiz provides immediate feedback on the user's answers, displaying "Correct!" for a correct answer and "Wrong answer." for an incorrect one. The user's final score will be displayed at the end of the quiz.

Prerequisites

You must have Python 3.x installed on your system to run this script. You can download and install Python from the official website: https://www.python.org/downloads/

Running the Quiz

  1. Clone this repository or download the python_quiz.py script.

  2. Open a terminal or command prompt and navigate to the directory containing the script.

  3. Run the following command:

  4. The quiz will begin, and you will be prompted to answer each question by entering the appropriate option (A, B, C, or D). You can enter the options in either uppercase or lowercase letters.

  5. After completing all 40 questions, your final score will be displayed.

python-quiz-script-with-40-questions's People

Contributors

maoraviad1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.