yapf edits

This commit is contained in:
lukew3
2020-10-19 14:08:13 -04:00
parent 233f8bf180
commit 90a794cc05
41 changed files with 347 additions and 240 deletions

View File

@@ -7,7 +7,9 @@ def simpleInterestFunc(maxPrinciple=10000, maxRate=10, maxTime=10):
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 = "
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