title: Why is this simple conditional expression not working?
body: <p>Very simple line:</p>
  
  <pre><code>i = 3
  a = 2 if i in [1, 3, 6] else a = 7
  </code></pre>
  
  <p>fails with:</p>
  
  <pre><code>SyntaxError: can't assign to conditional expression
  </code></pre>
  
  <p>whereas expanded as:</p>
  
  <pre><code>if i in [1, 3, 6]:
      a = 2
  else:
      a = 7
  </code></pre>
  
  <p>works fine.</p>