This will be really funny... Given following python codes:
python
def getBinary(binaryInput, kSize, beginBit): if int(binaryInput[beginBit + kSize-1])=
When a function ends without executing a return statement, it returns None. Instead of
return
None
getBinary(binaryInput, kSize, beginBit)
you mean
return getBinary(binaryInput, kSize, beginBit)