Check if a given value is out of certain range
John Gordon
gordon at panix.com
Thu Oct 1 14:20:25 EDT 2015
In <560d78e2$0$1618$c3e8da3$5496439d at news.astraweb.com> Steven D'Aprano <steve at pearwood.info> writes:
> > I have to parse those damn brackets and then figure out the inverted
> > logic. Give me x < 0 or x > 10 any day of the week. When you're an old,
> > senile git like me, readability counts :-)
> With the greatest of respect Mark, I don't believe that for a second. Your
> sig line, which you have used without fail for more years than I can
> remember includes the phrase "ask not what our language can do for you". If
> you can understand that, I don't believe that you cannot figure out how to
Certainly we can understand it. But it takes ever-so-slightly more effort
to do so.
--
John Gordon A is for Amy, who fell down the stairs
gordon at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list
mailing list