Is there a way to call functions from other functions?
<p>I keep getting errors when i try to call functions from other functions (in an if statement to be exact). like:</p>

<pre><code>    def function1(num):
        num = 5    
        if num == 5:
            function2("This is 5")
        return

    def function2(x):
        print x
        return
</code></pre>

<p>I have not been able to find any problems like this one before. Is it at all possible?</p>
