mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
added 4 test and an "=" in binaryComplement1sFunc
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user