title: What does it mean that Python comparison operators chain/group left to right?
body: <p>The Python documentation for <a href="https://docs.python.org/2/reference/expressions.html#operator-precedence" rel="noreferrer">operator precedence</a> states:</p>
  
  <blockquote>
    <p>Operators in the same box group left to right (except for
    comparisons, including tests, which all have the same precedence and
    chain from left to right — see section <a href="https://docs.python.org/2/reference/expressions.html#comparisons" rel="noreferrer">Comparisons</a>...)</p>
  </blockquote>
  
  <p>What does this mean?  Specifically:</p>
  
  <ol>
  <li><p><em>"Operators in the same box group left to right (except for
  comparisons...)"</em> -- do comparisons <em>not</em> group left to right?   </p></li>
  <li><p>If comparisons do <em>not</em> group left to right, what do they do instead? Do they "chain" as opposed to "group"?</p></li>
  <li><p>If comparisons "chain" rather than "group", what is the difference between "chaining" and "grouping"?</p></li>
  <li><p>What would be some examples to demonstrate that the comparison operators chain from left to right rather than from right to left?</p></li>
  </ol>