Conditional statements based on function parameter name
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2749796/how-to-get-the-original-variable-name-of-variable-passed-to-a-function">How to get the original variable name of variable passed to a function</a>  </p>
</blockquote>



<p>Is there something like below in python where based on the name of the parameter passed to a function we can execute conditional statements like below.</p>

<pre><code>def func(a,b,c,d)

if fourth paramter = d:
#code

elif fourth parameter = e:
#code

else:

#code

   def main():
         func(a,b,c,d)
         func(a,b,c,e)
</code></pre>
