Mathgenerator

Github
pip install mathgenerator

mathgenerator is a python package that enables users to easily generate a variety of math problems, with customizable settings.


Demo

Below are some pre-generated samples of generator output. If you would like to generate problems with the actual library, visit the WebAssembly version of this page. Note that it will take about 30 seconds to load

Addition

function name:

addition

subject:

basic_math

kwargs:

maxSum=99, maxAddend=50

id:

0

Problem:

2+2=

Solution:

4

Available Generators

Click a generator to show a sample problem and more info