mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
Update compoundInterestFunc.py
This commit is contained in:
@@ -2,15 +2,12 @@ from .__init__ import *
|
|||||||
from ..__init__ import Generator
|
from ..__init__ import Generator
|
||||||
|
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
def compoundInterestFunc(maxPrinciple = 10000, maxRate = 10, maxTime = 10, maxPeriod = 10):
|
|
||||||
=======
|
|
||||||
|
|
||||||
def compoundInterestFunc(maxPrinciple=10000,
|
def compoundInterestFunc(maxPrinciple=10000,
|
||||||
maxRate=10,
|
maxRate=10,
|
||||||
maxTime=10,
|
maxTime=10,
|
||||||
maxPeriod=10):
|
maxPeriod=10):
|
||||||
>>>>>>> cb0cfb4b81966d8bccb88d30dfce099e05c8b4f4
|
|
||||||
p = random.randint(100, maxPrinciple)
|
p = random.randint(100, maxPrinciple)
|
||||||
r = random.randint(1, maxRate)
|
r = random.randint(1, maxRate)
|
||||||
t = random.randint(1, maxTime)
|
t = random.randint(1, maxTime)
|
||||||
|
|||||||
Reference in New Issue
Block a user