On 11/1/2012 11:32 AM, inshu chauhan wrote:
  what is the most pythonic way to do this :

                    if 0 < ix < 10 and 0 < iy < 10 ???

end with : instead of ???

>>> ix, iy = 3,4
>>> if 0 < ix < 10 and 0 < iy < 10:
        print('This was too easy')

        
This was too easy

--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to