diff --git a/README.md b/README.md index 6e6a9b1..796a870 100644 --- a/README.md +++ b/README.md @@ -30,13 +30,13 @@ pip install mathgenerator Here is an example of how you would generate an addition problem: ```python -from mathgenerator import mathgen +import mathgenerator #generate an addition problem -problem, solution = mathgen.addition() +problem, solution = mathgenerator.addition() #another way to generate an addition problem using genById() -problem, solution = mathgen.genById(0) +problem, solution = mathgenerator.genById(0) ``` Problem/solution pairs are generated with either: -* `mathgen.()` - generates a problem, solution set from the given generator name. -* `mathgen.genById(id)` - generates a problem, solution set with generator id provided by the `id` parameter +* `mathgenerator.()` - generates a problem, solution set from the given generator name. +* `mathgenerator.genById(id)` - generates a problem, solution set with generator id provided by the `id` parameter