Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

171 views
Skip to first unread message

HenHanna

unread,
Feb 9, 2024, 3:35:57 PMFeb 9
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 PMFeb 9
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 PMFeb 20
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