complete restructure of the project. minor tweaks

This commit is contained in:
D-T-666
2020-10-18 19:03:56 +04:00
parent 4331db74d0
commit 3c1b02787f
65 changed files with 1145 additions and 900 deletions

View File

@@ -0,0 +1,12 @@
from .__init__ import *
def simpleInterestFunc(maxPrinciple=10000, maxRate=10, maxTime=10):
a = random.randint(1000, maxPrinciple)
b = random.randint(1, maxRate)
c = random.randint(1, maxTime)
d = (a * b * c) / 100
problem = "Simple interest for a principle amount of " + str(a) + " dollars, " + str(b) + "% rate of interest and for a time period of " + str(c) + " years is = "
solution = round(d, 2)
return problem, solution