pep8 fixes

This commit is contained in:
lukew3
2020-10-19 13:54:31 -04:00
parent 5aaf1765fa
commit 91358f5b1b
82 changed files with 450 additions and 326 deletions

View File

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