mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
Id fix
This commit is contained in:
@@ -8,4 +8,5 @@ def decimalToOctalFunc(maxDecimal=4096):
|
|||||||
return problem, solution
|
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)
|
||||||
|
|||||||
@@ -25,4 +25,5 @@ def decimalToRomanNumeralsFunc(maxDecimal=4000):
|
|||||||
return problem, solution
|
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)
|
||||||
|
|||||||
3
test.py
3
test.py
@@ -6,8 +6,7 @@ print(mathgen.addition())
|
|||||||
print(mathgen.genById(79))
|
print(mathgen.genById(79))
|
||||||
|
|
||||||
# prints each generator in genList
|
# prints each generator in genList
|
||||||
"""
|
|
||||||
list = mathgen.getGenList()
|
list = mathgen.getGenList()
|
||||||
for item in list:
|
for item in list:
|
||||||
print(item[2])
|
print(item[2])
|
||||||
"""
|
|
||||||
|
|||||||
Reference in New Issue
Block a user