"Luis P. Mendes" <luis_lupe2XXX at netvisaoXXX.pt> wrote in message news:3ofngkF5n00bU1 at individual.net... > | Why? What is it about the list of tuples that you don't like? > | Philosophically, it's more in line with Guido's separation of list and > | tuple. > I'm not saying that I don't like, I was just curious to know if there > was a way to do it using exclusively tuples. A list of lists can be built top down. A tuple of tuples must be built bottom up, and each tuple must be built with one call to tuple(). But tuple(it) will take any iterable, so write, say, a generator that yields lower-level tuples. Terry J. Reedy
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