Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32561

Re: pythonic way

Date 2012-11-01 15:52 +0000
From MRAB <python@mrabarnett.plus.com>
Subject Re: pythonic way
References <CAFqGZREfq7fO4Okf1Oj9HBeUkWLYK_9=ho8N47_kyTKudGZSFA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3153.1351785146.27098.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: pythonic way MRAB <python@mrabarnett.plus.com> - 2012-11-01 15:52 +0000

csiph-web