Can't call a function from a function Python
<p>I come from a Java and C# background and learning python. I am wondering why this piece of code gives me an error in pycharm that says </p>

<pre><code>    Unresolved Reference 'methodA'
</code></pre>

<p>with this code</p>

<pre><code>    def a():
        print("hi")

    def b():
        a()
</code></pre>