added 4 test and an "=" in binaryComplement1sFunc

This commit is contained in:
D-T-666
2020-10-17 22:53:55 +04:00
parent f323be51ae
commit 954b47fecd
2 changed files with 35 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ def binaryComplement1sFunc(maxDigits = 10):
question += temp
answer += "0" if temp == "1" else "1"
problem = question
problem = question+"="
solution = answer
return problem, solution