mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
subtractionFunc naming error
This commit is contained in:
@@ -27,7 +27,7 @@ def additionFunc(maxSum = 99, maxAddend = 50):
|
|||||||
solution = str(c)
|
solution = str(c)
|
||||||
return problem, solution
|
return problem, solution
|
||||||
|
|
||||||
def subtraction(maxMinuend = 99, maxDiff = 99):
|
def subtractionFunc(maxMinuend = 99, maxDiff = 99):
|
||||||
a = random.randint(0, maxMinuend)
|
a = random.randint(0, maxMinuend)
|
||||||
b = random.randint(max(0, (a-maxDiff)), a)
|
b = random.randint(max(0, (a-maxDiff)), a)
|
||||||
c = a-b
|
c = a-b
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='mathgenerator',
|
name='mathgenerator',
|
||||||
version='1.0.1',
|
version='1.0.2',
|
||||||
description='An open source solution for generating math problems',
|
description='An open source solution for generating math problems',
|
||||||
url='https://github.com/todarith/mathgenerator',
|
url='https://github.com/todarith/mathgenerator',
|
||||||
author='Luke Weiler',
|
author='Luke Weiler',
|
||||||
|
|||||||
Reference in New Issue
Block a user