mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user