mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
lint fixes
This commit is contained in:
@@ -15,18 +15,18 @@ def multiplyIntToMatrix22(maxMatrixVal=10, maxRes=100, style='raw'):
|
||||
d1 = d * constant
|
||||
|
||||
if style == 'latex':
|
||||
problem = ("\\(" + str(constant) + "\\cdot" +
|
||||
"\\begin{bmatrix}" +
|
||||
str(a) + "&" + str(b) + "\\\\" +
|
||||
str(c) + "&" + str(d) +
|
||||
"\end{bmatrix}=" +
|
||||
problem = ("\\(" + str(constant) + "\\cdot"
|
||||
"\\begin{bmatrix}"
|
||||
"" + str(a) + "&" + str(b) + "\\\\"
|
||||
"" + str(c) + "&" + str(d) + ""
|
||||
"\end{bmatrix}="
|
||||
"\\)"
|
||||
)
|
||||
solution = ("\\(" +
|
||||
"\\begin{bmatrix}" +
|
||||
str(a1) + "&" + str(b1) + "\\\\" +
|
||||
str(c1) + "&" + str(d1) +
|
||||
"\end{bmatrix}" +
|
||||
solution = ("\\("
|
||||
"\\begin{bmatrix}"
|
||||
"" + str(a1) + "&" + str(b1) + "\\\\"
|
||||
"" + str(c1) + "&" + str(d1) + ""
|
||||
"\end{bmatrix}"
|
||||
"\\)"
|
||||
)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user