mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
Added kwargs to generator module and readme
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from .__init__ import *
|
||||
|
||||
|
||||
def genDifferentiationProblem(diff_lvl):
|
||||
def genDifferentiationProblem(diff_lvl=2):
|
||||
problem = ''
|
||||
|
||||
types = {
|
||||
@@ -51,4 +51,5 @@ def differentiationFunc(diff_lvl=2):
|
||||
|
||||
differentiation = Generator("Differentiation", 88,
|
||||
"differentiate w.r.t x : d(f(x))/dx", "g(x)",
|
||||
differentiationFunc)
|
||||
differentiationFunc,
|
||||
["diff_lvl=2"])
|
||||
|
||||
Reference in New Issue
Block a user