> > Are you also proposing to allow > > > > if [2, 3] in [1, 2, 3, 4] > > > > which is effectively the meaning you seem to be proposing for > > strings? > > No, since it's not a common thing to need. Of course, there's another reason why that can't be done even if it *was* a common need: [2, 3] could be a list item, e.g. [1, [2, 3], 4]. This kind of thing can't happen for strings. --Guido van Rossum (home page: http://www.python.org/~guido/)
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