Added style kwarg

This commit is contained in:
lukew3
2020-12-17 16:29:38 -05:00
parent 7c3d2cd5dc
commit 3fb3a07c65
3 changed files with 20 additions and 12 deletions

View File

@@ -10,9 +10,6 @@ from mathgenerator import mathgen
# print(item[2])
# print(mathgen.getGenList())
#print(mathgen.genById(10))
#Make a pdf with 10 problems of generator id 1
# mathgen.makePdf(0, 10)
print(mathgen.genById(0, maxSum=20))
print(mathgen.genById(0, maxSum=20, style='latex')[0])
print(mathgen.genById(1, style='latex'))