Merge pull request #169 from D-T-666/master

Added 4 unit tests
This commit is contained in:
Luke Weiler
2020-10-17 19:09:36 -04:00
committed by GitHub
2 changed files with 48 additions and 48 deletions

View File

@@ -78,7 +78,7 @@ def binaryComplement1sFunc(maxDigits=10):
question += temp
answer += "0" if temp == "1" else "1"
problem = question
problem = question+"="
solution = answer
return problem, solution
@@ -142,7 +142,7 @@ def lcmFunc(maxVal=20):
while(y):
x, y = y, x % y
d = c // x
problem = f"LCM of {a} and {b} = "
problem = f"LCM of {a} and {b} ="
solution = str(d)
return problem, solution