Update decimalToRomanNumeralsFunc.py

This commit is contained in:
Luke Weiler
2020-10-19 21:19:51 -04:00
committed by GitHub
parent 8a40364692
commit e18a35559d

View File

@@ -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)