diff --git a/mathgenerator/funcs/decimalToOctalFunc.py b/mathgenerator/funcs/decimalToOctalFunc.py index 64bbae4..1f2cf6f 100644 --- a/mathgenerator/funcs/decimalToOctalFunc.py +++ b/mathgenerator/funcs/decimalToOctalFunc.py @@ -6,3 +6,6 @@ def decimalToOctalFunc(maxDecimal=4096): problem = "The decimal number " + str(x) + " in Octal is: " solution = oct(x) return problem, solution + + +decimalToOctal = Generator("Converts decimal to octal", 82, "What's the octal representation of 98?", "0o142", decimalToOctalFunc)