(assume a = [1, 2, 3]) On Mon, 17 Jul 2000, Gordon McMillan wrote: > How about a fourth: zip(a) is the same as zip(a, []) ? Huh??????????????????? > Look at it this way: what should zip(a, pad=None) return? [(1,), (2,), (3,)], of course > Obviously: [(1, None), (2, None), (3, None)] Why? -- Moshe Zadka <moshez@math.huji.ac.il> There is no GOD but Python, and HTTP is its prophet. http://advogato.org/person/moshez
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