How to refer to the target value of list/dictionary comprehension in condition clause?
<p>In the following examples,</p>

<pre><code>[f(a) for a in range(10) if f(a) &lt; 50]
{k: f(a) for k in range(10) if f(a) &lt; 50}
</code></pre>

<p>Is it possible to eliminate the repeated <code>f(a)</code>, without introducing a wrapping list/dictionary comprehension?</p>
