Skip to main content

Generate math questions & answers

Project description

Welcome to Math Question Generator!

Installation

pip install math-question-generator

Usage

from maths_question_generator.arithmetic import Arithmetic

a = Arithmetic(difficulty="easy")
result = a.base()
print(result)

Output:

{'question': '16 - 8 + 9', 'answer': 17}

Project details


Download files

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

Source Distribution

math-question-generator-2.2.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

math_question_generator-2.2.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file math-question-generator-2.2.0.tar.gz.

File metadata

  • Download URL: math-question-generator-2.2.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for math-question-generator-2.2.0.tar.gz
Algorithm Hash digest
SHA256 4873a45afbf534cdce043f9ce44b6fddd90f3be1524fd17554a3cfa6077aa43a
MD5 bda612724ce484a09f6d168c412fc78a
BLAKE2b-256 c17584bbe3ad264ea4df1ac967fde152225d1969d4f797fb7600f20da18b8293

See more details on using hashes here.

File details

Details for the file math_question_generator-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: math_question_generator-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for math_question_generator-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 953968afcb6a3ed1bc51510a8af865518ab1bf67b3d260960113d3a5c190be99
MD5 d1b9274ef36414a7c9a5e7ea7a58ebeb
BLAKE2b-256 8e480a55afa6af26349d4a6f9425b5cb8694f5446a70ba113a8733f5ec386ddb

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