Python defining variable
<pre><code> def f(g, x):

   return g(x) + g(x-1);

 def square(x):

   return x*x;
</code></pre>

<p><code>f(square, n)</code> would the output just be <code>n^2+(n^2-1)</code>? Or would it be different? </p>
