From 5217590f285009bdaadc52cc74448aa93214391c Mon Sep 17 00:00:00 2001 From: Gautam Prasad <70034446+Gautampd73@users.noreply.github.com> Date: Sat, 24 Oct 2020 06:07:40 +0530 Subject: [PATCH] Delete signumFunc.py --- mathgenerator/funcs/signumFunc.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 mathgenerator/funcs/signumFunc.py diff --git a/mathgenerator/funcs/signumFunc.py b/mathgenerator/funcs/signumFunc.py deleted file mode 100644 index 64400e0..0000000 --- a/mathgenerator/funcs/signumFunc.py +++ /dev/null @@ -1,19 +0,0 @@ -from .__init__ import * -import random - - -def signumFunc(min=-999, max=999): - a = random.randint(min, max) - b = 0 - if (a > 0): - b = 1 - if (a < 0): - b = -1 - problem = "signum of " + str(a) + " is " + "=" - solution = str(b) - return problem, solution - - -signum_function = Generator("signum function", 106, - "signum function of a is", "b", - signumFunc)