From e797c8fa5ccd4d1c116769465a3c7dde57188d0e Mon Sep 17 00:00:00 2001 From: helplessThor <66440538+helplessThor@users.noreply.github.com> Date: Mon, 19 Oct 2020 20:16:30 +0530 Subject: [PATCH] Delete binaryToHexaFunction.py --- mathgenerator/funcs/binaryToHexaFunction.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 mathgenerator/funcs/binaryToHexaFunction.py diff --git a/mathgenerator/funcs/binaryToHexaFunction.py b/mathgenerator/funcs/binaryToHexaFunction.py deleted file mode 100644 index e40f775..0000000 --- a/mathgenerator/funcs/binaryToHexaFunction.py +++ /dev/null @@ -1,11 +0,0 @@ -from .__init__ import * - - -def binaryToHexaFunc(max_dig=1000): - problem = '' - for i in range(random.randint(1, max_dig)): - temp = str(random.randint(0, 1)) - problem += temp - - solution = hex(int(problem)) - return problem, solution