Update decimalToOctalFunc.py

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

View File

@@ -6,3 +6,6 @@ def decimalToOctalFunc(maxDecimal=4096):
problem = "The decimal number " + str(x) + " in Octal is: "
solution = oct(x)
return problem, solution
decimalToOctal = Generator("Converts decimal to octal", 82, "What's the octal representation of 98?", "0o142", decimalToOctalFunc)