From 13fdefd53c5eb9c62d6873e0787939e150dffc70 Mon Sep 17 00:00:00 2001 From: lukew3 Date: Mon, 19 Dec 2022 14:11:56 -0500 Subject: [PATCH] Update readme to remove mathgen --- README.md | 10 +++++----- mathgenerator/__init__.py | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) 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