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,17 @@
from .__init__ import *
def lcmFunc(maxVal=20):
a = random.randint(1, maxVal)
b = random.randint(1, maxVal)
c = a * b
x, y = a, b
while y:
x, y = y, x % y
d = c // x
problem = f"LCM of {a} and {b} ="
solution = str(d)
return problem, solution