From e18a35559d8966a0907ebe922d20d0d36dd1ab2e Mon Sep 17 00:00:00 2001 From: Luke Weiler Date: Mon, 19 Oct 2020 21:19:51 -0400 Subject: [PATCH] Update decimalToRomanNumeralsFunc.py --- mathgenerator/funcs/decimalToRomanNumeralsFunc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mathgenerator/funcs/decimalToRomanNumeralsFunc.py b/mathgenerator/funcs/decimalToRomanNumeralsFunc.py index c7183c3..407a4f2 100644 --- a/mathgenerator/funcs/decimalToRomanNumeralsFunc.py +++ b/mathgenerator/funcs/decimalToRomanNumeralsFunc.py @@ -23,3 +23,6 @@ def decimalToRomanNumeralsFunc(maxDecimal=4000): x = math.floor(x % divisor) divisor /= 10 return problem, solution + + +decimalToRomanNumerals = Generator("Converts decimal to Roman Numerals", 83, "Convert 20 into Roman Numerals", "XX", decimalToRomanNumeralsFunc)