Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Zip(a,b) isn't really necessary because...

330 views
Skip to first unread message

HenHanna

unread,
Feb 9, 2024, 3:35:57 PM2/9/24
to

i think that... Zip(a,b) isn't really necessary because...

it can be easily defined as map( lambda *x: tuple(x), a, b)

Lawrence D'Oliveiro

unread,
Feb 9, 2024, 4:23:07 PM2/9/24
to
On Fri, 9 Feb 2024 12:35:40 -0800, HenHanna wrote:

> i think that... Zip(a,b) isn't really necessary because...
>
> it can be easily defined as map( lambda *x: tuple(x), a, b)

Except zip can take more than two args.

HenHanna

unread,
Feb 20, 2024, 4:51:07 PM2/20/24
to
i think that... Zip(a,b) isn't really necessary because...
it can be easily defined as map( lambda *x: tuple(x), a, b)


Is it easy to rewrite this for N-args, not just 2 ?





--- Why are there SO MANY Testing(sorry) posts?


--- Where did all those people go ???
0 new messages