title: Simplify Chained Comparison
body: <p>I have an integer value <code>x</code>, and I need to check if it is between a <code>start</code> and <code>end</code> values, so I write the following statements:</p>
  
  <pre><code>if x &gt;= start and x &lt;= end:
      # do stuff
  </code></pre>
  
  <p>This statement gets underlined, and the tooltip tells me that I must </p>
  
  <blockquote>
    <p>simplify chained comparison</p>
  </blockquote>
  
  <p>As far as I can tell, that comparison is about as simple as they come.  What have I missed here?</p>