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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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