mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
Delete DecimalToHexFunc.py
This commit is contained in:
@@ -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
|
|
||||||
Reference in New Issue
Block a user