mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
Fix genById missing args/kwargs
This commit is contained in:
10
test.py
10
test.py
@@ -5,12 +5,14 @@ from mathgenerator import mathgen
|
||||
# print(mathgen.addition())
|
||||
|
||||
# prints each generator in genList
|
||||
list = mathgen.getGenList()
|
||||
for item in list:
|
||||
print(item[2])
|
||||
# list = mathgen.getGenList()
|
||||
#for item in list:
|
||||
# print(item[2])
|
||||
|
||||
# print(mathgen.getGenList())
|
||||
print(mathgen.genById(10))
|
||||
#print(mathgen.genById(10))
|
||||
|
||||
#Make a pdf with 10 problems of generator id 1
|
||||
# mathgen.makePdf(0, 10)
|
||||
|
||||
print(mathgen.genById(0, maxSum=20))
|
||||
|
||||
Reference in New Issue
Block a user