Python --- zip function (packing / unpacking)

zip function
zip (iter1, iter2, ...)
function: packing, the position of the object may be iterative element corresponding to package,
depending on the length of the shortest return zipobj packaged objects to the iterator returned manner

zip (* zipobj)
unpack the packed before the depacketizing processing elements to return iterator manner.

Guess you like

Origin blog.csdn.net/lonely2018/article/details/91908762
Recommended