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

@@ -14,7 +14,8 @@ def powerRuleIntegrationFunc(maxCoef=10, maxExp=10, maxTerms=5):
exponent = random.randint(1, maxExp)
problem += str(coefficient) + "x^" + str(exponent)
solution += "(" + str(coefficient) + "/" + str(exponent) + ")x^" + str(exponent + 1)
solution += "(" + str(coefficient) + "/" + \
str(exponent) + ")x^" + str(exponent + 1)
solution += " + c"
return problem, solution