OK ..I got it..<br><br>
<div class="gmail_quote">On Thu, Nov 1, 2012 at 5:54 PM, Zero Piraeus <span dir="ltr"><<a href="mailto:schesis@gmail.com" target="_blank">schesis@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">:<br>
<div class="im"><br>On 1 November 2012 11:32, inshu chauhan <<a href="mailto:insideshoes@gmail.com">insideshoes@gmail.com</a>> wrote:<br>>  what is the most pythonic way to do this :<br>><br>>                    if 0 < ix < 10 and 0 < iy < 10 ???<br>
<br></div>As everyone else has said, it's perfectly pythonic once you stick the<br>colon on the end. You might find it more instantly readable with some<br>extra parentheses:<br><br>    if (0 < ix < 10) and (0 < iy < 10):<br>
        # do something<br><br>... but that's really just down to taste.<br><span class="HOEnZb"><font color="#888888"><br> -[]z.<br>--<br><a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br>