From d4906d85f804a1168b12848d8e64a218a6e9d361 Mon Sep 17 00:00:00 2001 From: lukew3 Date: Mon, 19 Oct 2020 21:25:09 -0400 Subject: [PATCH] Id fix --- mathgenerator/funcs/decimalToOctalFunc.py | 3 ++- mathgenerator/funcs/decimalToRomanNumeralsFunc.py | 3 ++- test.py | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mathgenerator/funcs/decimalToOctalFunc.py b/mathgenerator/funcs/decimalToOctalFunc.py index 1f2cf6f..4a5c7ab 100644 --- a/mathgenerator/funcs/decimalToOctalFunc.py +++ b/mathgenerator/funcs/decimalToOctalFunc.py @@ -8,4 +8,5 @@ def decimalToOctalFunc(maxDecimal=4096): return problem, solution -decimalToOctal = Generator("Converts decimal to octal", 82, "What's the octal representation of 98?", "0o142", decimalToOctalFunc) +decimalToOctal = Generator("Converts decimal to octal", 84, + "What's the octal representation of 98?", "0o142", decimalToOctalFunc) diff --git a/mathgenerator/funcs/decimalToRomanNumeralsFunc.py b/mathgenerator/funcs/decimalToRomanNumeralsFunc.py index 407a4f2..03e369b 100644 --- a/mathgenerator/funcs/decimalToRomanNumeralsFunc.py +++ b/mathgenerator/funcs/decimalToRomanNumeralsFunc.py @@ -25,4 +25,5 @@ def decimalToRomanNumeralsFunc(maxDecimal=4000): return problem, solution -decimalToRomanNumerals = Generator("Converts decimal to Roman Numerals", 83, "Convert 20 into Roman Numerals", "XX", decimalToRomanNumeralsFunc) +decimalToRomanNumerals = Generator("Converts decimal to Roman Numerals", + 85, "Convert 20 into Roman Numerals", "XX", decimalToRomanNumeralsFunc) diff --git a/test.py b/test.py index 9df861d..88a2724 100644 --- a/test.py +++ b/test.py @@ -6,8 +6,7 @@ print(mathgen.addition()) print(mathgen.genById(79)) # prints each generator in genList -""" + list = mathgen.getGenList() for item in list: print(item[2]) -"""