Skip to main content

create a test in order to practice for exams, test your knowledge, and boost your memory!

Project description

Quiz 🎯

Create your quiz game faster in Python! 🎴

Why? 🥺

To practice for exams, test your knowledge, and boost your memory!

How? 😫 (🐧Linux 🪟Windows 🍏Mac)

  1. Create VENV 👾
python -m venv /path/to/new/virtual/environment
  1. Install 🛠️
pip install quiz-game
  1. Create a python file 📁
echo hi > ./your_script.py
  1. Import this module into your script 📥
from quiz_game import quiz_start
  1. Add your questions and answers in a dictionary 👨🏻‍💻
from quiz_game import quiz_start

quiz_start(
    {
        "question 1": "answer 1",
        "question 2": "answer 2",
        "question 3": "answer 3",
    }
)
  1. Run your script and play the quiz! 🎮
python ./your_script.py

You’ll see ✅ for correct answers and 💀 for wrong ones. At the end, you’ll get your score, e.g. "2/3".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quiz_game-0.0.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file quiz_game-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: quiz_game-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for quiz_game-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 39ac9139647861741b821dd1ea09ce0773d76b96ddec7233362d23a12f887d14
MD5 e1798527736e932f47b0a6cfd89e1ac3
BLAKE2b-256 316ffd52228ca6e54fb7840984e473b32a7ab62adb150498f06f5e147233ce30

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page