title: Creating a Python list comprehension with an if and break
body: <p>Is it possible to turn this code into a list comprehension?</p>
  
  <pre><code>for i in userInput:
      if i in wordsTask:
          a = i
          break
  </code></pre>
  
  <p>I know how to convert part of it:</p>
  
  <pre><code>[i for i in userInput if i in wordsTask]
  </code></pre>
  
  <p>But I don't know how to add the break, and the documentation hasn't been much help.</p>
  
  <p>Any help would be appreciated.</p>