mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
pep8 fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user