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:
@@ -16,4 +16,6 @@ def compoundInterestFunc(maxPrinciple=10000, maxRate=10, maxTime=10):
|
||||
compound_interest = Generator(
|
||||
"Compound Interest", 78,
|
||||
"Compound interest for a principle amount of a dollars, b% rate of interest and for a time period of c years is = ",
|
||||
"d dollars", compoundInterestFunc)
|
||||
"d dollars",
|
||||
compoundInterestFunc,
|
||||
["maxPrinciple=10000", "maxRate=10", "maxTime=10"])
|
||||
|
||||
Reference in New Issue
Block a user