linter fix

This commit is contained in:
lukew3
2020-10-21 14:06:31 -04:00
parent 47966623cc
commit 9a27fcd700

View File

@@ -1,5 +1,6 @@
from .__init__ import *
def BCDtoDecimalFunc(maxNumber=10000):
n = random.randint(1000, maxNumber)
binstring = ''
@@ -18,4 +19,6 @@ def BCDtoDecimalFunc(maxNumber=10000):
solution = int(binstring, 2)
return problem, solution
bcd_to_decimal = Generator("Binary Coded Decimal to Integer", 91, "Integer of Binary Coded Decimal b is ", "n", BCDtoDecimalFunc)
bcd_to_decimal = Generator("Binary Coded Decimal to Integer", 91,
"Integer of Binary Coded Decimal b is ", "n", BCDtoDecimalFunc)