Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #32565 > unrolled thread
| Started by | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| First post | 2012-11-01 12:39 -0400 |
| Last post | 2012-11-01 12:39 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: pythonic way Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-11-01 12:39 -0400
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2012-11-01 12:39 -0400 |
| Subject | Re: pythonic way |
| Message-ID | <mailman.3157.1351787962.27098.python-list@python.org> |
On Thu, 1 Nov 2012 16:32:25 +0100, inshu chauhan <insideshoes@gmail.com>
declaimed the following in gmane.comp.python.general:
> what is the most pythonic way to do this :
>
> if 0 < ix < 10 and 0 < iy < 10 ???
if 0 < ix < 10 and 0 < iy < 10:
#do something
Python has chained comparisons for a reason...
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to top | Article view | comp.lang.python
csiph-web