mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
division formatting fix
This commit is contained in:
@@ -8,7 +8,7 @@ def divisionToIntFunc(maxA=25, maxB=25):
|
|||||||
divisor = a * b
|
divisor = a * b
|
||||||
dividend = random.choice([a, b])
|
dividend = random.choice([a, b])
|
||||||
|
|
||||||
problem = f"{divisor}/{dividend} = "
|
problem = f"{divisor}/{dividend}="
|
||||||
solution = int(divisor / dividend)
|
solution = int(divisor / dividend)
|
||||||
return problem, solution
|
return problem, solution
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user