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 question += temp
answer += "0" if temp == "1" else "1" answer += "0" if temp == "1" else "1"
problem = question problem = question+"="
solution = answer solution = answer
return problem, solution return problem, solution