mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
lint fix
This commit is contained in:
@@ -4,7 +4,7 @@ from .__init__ import *
|
|||||||
def squareFunc(maxSquareNum=20, style='raw'):
|
def squareFunc(maxSquareNum=20, style='raw'):
|
||||||
a = random.randint(1, maxSquareNum)
|
a = random.randint(1, maxSquareNum)
|
||||||
b = a * a
|
b = a * a
|
||||||
|
|
||||||
if style == 'latex':
|
if style == 'latex':
|
||||||
problem = "\\(" + str(a) + "^{2}=\\)"
|
problem = "\\(" + str(a) + "^{2}=\\)"
|
||||||
solution = "\\(" + str(b) + "\\)"
|
solution = "\\(" + str(b) + "\\)"
|
||||||
|
|||||||
Reference in New Issue
Block a user