complete restructure of the project. minor tweaks

This commit is contained in:
D-T-666
2020-10-18 19:03:56 +04:00
parent 4331db74d0
commit 3c1b02787f
65 changed files with 1145 additions and 900 deletions

View File

@@ -0,0 +1,12 @@
from .__init__ import *
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"
return problem, solution