mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
Update multiply_complex_numbers.py
This commit is contained in:
@@ -8,7 +8,7 @@ def multiplyComplexNumbersFunc(minRealImaginaryNum=-20,
|
||||
num2 = complex(random.randint(minRealImaginaryNum, maxRealImaginaryNum),
|
||||
random.randint(minRealImaginaryNum, maxRealImaginaryNum))
|
||||
problem = f"{num1} * {num2} = "
|
||||
solution = num1 * num2
|
||||
solution = str(num1 * num2)
|
||||
return problem, solution
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user