title: if and else in python lambda expression
body: <p>Please help me to understand how this works. Output is 4</p>
  
  <pre><code>a=4
  b=7
  
  x=lambda: a if 1 else b
  lambda x: 'big' if x &gt; 100 else 'small'
  print(x())
  </code></pre>