added makePdf function, documentation, new version

This commit is contained in:
lukew3
2020-11-20 14:05:48 -05:00
parent be2922a5b0
commit 27082cc299
4 changed files with 21 additions and 2 deletions

View File

@@ -25,6 +25,13 @@ problem, solution = mathgen.addition()
#another way to generate an addition problem using genById()
problem, solution = mathgen.genById(0)
```
## Documentation
`getGenList()` returns a list of all generators in the repository in the format `[id, title, self, funcname]`
`genById(id)` generates a problem, solution set with generator id `id` in the form of a list in the format `[problem, solution]`
`makePdf(id, count)` creates a printable pdf worksheet with `count` problems generated by the generator with id `id`.
## List of Generators