title: Python comparison evaluation
body: <p>As per the python documentation,<code>x&lt;y&lt;z</code> comparison is translated to <code>x&lt;y and y&lt;z</code> and  expression <code>y</code> is evaluated only once at most.<br>
  Now my question is , does an expression <code>y</code> ( look at the code below) is evaluated only once here?</p>
  
  <pre><code>if(x&lt;y and y&lt;z):
  </code></pre>