Return type error in python
<p>So I'm getting this error on a line where I have a recursive call. The line where the error occurred looks something like: <code>return some_func(x) - .2</code></p>

<p><code>TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'</code></p>

<p>I tried <code>return some_func(x) - .2 and x not None and float(x) is True</code>, and other tricks but unsuccessfully so far.</p>

<p>Thanks!</p>
