function call in python
<p>I wrote a function and I try to call it but it gives me error </p>

<pre><code>  NameError: name 'fun' is not defined
</code></pre>

<p>Example:</p>

<pre><code>(p1,p2) = fun(price1,price2)

def fun(price1,price2):
  do something
</code></pre>
