mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
Update decimalToRomanNumeralsFunc.py
This commit is contained in:
@@ -23,3 +23,6 @@ def decimalToRomanNumeralsFunc(maxDecimal=4000):
|
|||||||
x = math.floor(x % divisor)
|
x = math.floor(x % divisor)
|
||||||
divisor /= 10
|
divisor /= 10
|
||||||
return problem, solution
|
return problem, solution
|
||||||
|
|
||||||
|
|
||||||
|
decimalToRomanNumerals = Generator("Converts decimal to Roman Numerals", 83, "Convert 20 into Roman Numerals", "XX", decimalToRomanNumeralsFunc)
|
||||||
|
|||||||
Reference in New Issue
Block a user