This article needs some more complex examples, e.g. comprehensions with multiple &quot;for&quot; clauses and more complex filtering. Perhaps an example using zip or enumerate.<p>E.g.<p><pre><code>    cartesian_product = [(a,b) for a in [1,2,3] for b in [&#x27;a&#x27;,&#x27;b&#x27;,&#x27;c&#x27;]]
</code></pre>
Could really be nice when explained in color.