title: How does lambda inside lambda function work?
body: <p>When I try to print and see what each function does, I'm able to call only the <code>h</code> function.  All others return functions.</p>
  
  <p>Also, can anybody tell me why this code prints 13 and what is happening?</p>
  
  <pre><code>two_to_one = lambda g: (lambda y: g(y,y))`
  one_to_two = lambda f: (lambda x, y: f(x) + f(y))
  h = one_to_two(two_to_one(lambda x, y: x*y))
  print(h(3,2))
  </code></pre>