title: Get items from a list if an item contains two separate strings python
body: <p>I have the following list:</p>
  <pre><code>[&quot;west_sky_1_blue&quot;,&quot;west_sky_1_green&quot;,&quot;east_sky_blue&quot;,&quot;east_sky_green&quot;,&quot;west_sky_2_blue&quot;,&quot;west_sky_2_green&quot;]
  </code></pre>
  <p>How can I get any item that contains string &quot;west&quot; and &quot;blue&quot; into a list?(So in this example, i want to get &quot;west_sky_1_blue&quot; and &quot;west_sky_2_blue&quot; into another list.</p>
  <p>My original approach is something like this below but is not working</p>
  <pre><code>west_blue_list=[s for s in all_col if &quot;west&quot; &amp;&amp; &quot;blue&quot;in s]
  </code></pre>