Find out the number of arguments passed to a function consisting of default values for arguments in python
<p>Consider the following python function:</p>

<pre><code>def fun(x=0,y=1,z=1):
  print x,y,z

fun(2)
</code></pre>

<p>Is there a way i can find out within the function how many arguments were actually passed to it,which in the above case is 1 ?</p>

<p>Please Help
Thank You</p>
