From 9c8ee7ee6491d2f2c11c8402d8c9b0a8ed719235 Mon Sep 17 00:00:00 2001 From: Luke Weiler Date: Wed, 21 Oct 2020 14:08:32 -0400 Subject: [PATCH] Delete DecimalToHexFunc.py --- mathgenerator/funcs/DecimalToHexFunc.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 mathgenerator/funcs/DecimalToHexFunc.py diff --git a/mathgenerator/funcs/DecimalToHexFunc.py b/mathgenerator/funcs/DecimalToHexFunc.py deleted file mode 100644 index 33945d3..0000000 --- a/mathgenerator/funcs/DecimalToHexFunc.py +++ /dev/null @@ -1,11 +0,0 @@ -from .__init__ import * - - -def DecimalToHexFunc(max_dec=99): - a = random.randint(1, max_dec) - b = hex(a).replace("0x", "") - - problem = "Hexadecimal of " + str(a) + "=" - solution = str(b) - - return problem, solution