On 2012-11-01 15:32, inshu chauhan wrote: > what is the most pythonic way to do this : > > if 0 < ix < 10 and 0 < iy < 10 ??? > > That looks Pythonic to me, except for the missing colon.