title: Python: Inline if to print non-empty strings?
body: <p>I'm trying to print out just the non-empty strings in a list.  I can't seem to get the below to work, what am I doing wrong??  </p>
  
  <pre><code>print item in mylist if item is not ""
  </code></pre>