mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
pep8 fixes
This commit is contained in:
@@ -5,7 +5,7 @@ def surfaceAreaCuboid(maxSide=20, unit='m'):
|
||||
a = random.randint(1, maxSide)
|
||||
b = random.randint(1, maxSide)
|
||||
c = random.randint(1, maxSide)
|
||||
|
||||
|
||||
problem = f"Surface area of cuboid with sides = {a}{unit}, {b}{unit}, {c}{unit} is"
|
||||
ans = 2 * (a * b + b * c + c * a)
|
||||
solution = f"{ans} {unit}^2"
|
||||
|
||||
Reference in New Issue
Block a user