A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/114734.html below:

"not x in" vs. "x not in"

"not x in" vs. "x not in" "not x in" vs. "x not in"Ben Wolfson wolfson at midway.uchicago.edu
Wed Apr 4 16:14:14 EDT 2001
In article <oihmctopeloiihkfk3jb3icnvrdoemm402 at news.mbnet.fi>,
Kristian Ovaska  <kristian.ovaska at helsinki.fi> wrote:
>list = [1,2,3,4]
>not 5 in list
>5 not in list
>
>Why is there a "not in" operator? For clarity?
>
>(Not that I oppose "not in" in any way. I like it. I'm just curious.)

To me, "not x in list" is confusing--I read it as meaning the same
thing as "(not x) in list"

-- 
Barnabas T. Rumjuggler
The women come and go,
Speaking of the Regis Philbin Show
 -- Joe Frank

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4