title: Pythonic way to combine two FOR loops and an IF statement?
body: <p>I have this loop:</p>
  
  <pre><code>for e in elements:
      for h in hs:
          if h.complete and e.date &lt; h.date:
              print('----completed at time----',)
  </code></pre>
  
  <p>Is there a way to write it in one line or in a Pythonic way?</p>