inverse of id() function to demonstarte call be ref and value
<p>I was trying to demonstrate call by reference and value and what the address of the variable is in python:</p>

<pre><code>x = 10

print x
10

x = id(x)

print x

3457569
</code></pre>

<p>I pass x to my function by reference as x  <strong>is an address</strong></p>

<pre><code>def foo(d):

  print "the value of d is" ,**inverseid(d)**
</code></pre>

<p>foo(x)</p>

<p>3457569</p>

<p>I want the <strong>inverse(d)</strong> to print 10 but it prints the address!</p>

<p>Is there an inbuilt inverse of id() or can someone show me how to generate the value of an address similar to the * operator in C ?</p>
