zip() --内建函数 zip([iterable, ...]) 它接受一系列可迭代的对象作为参数,将对象中对应的元素打包成一个个tuple(元组),然后返回由这些tuples组成的list(列表). 若传入参数的长度不等,则返回list的长度和参数中长度最短的对象相同: 与dict() 连用,可完成list组合成字典: 注:python3目前zip函数print输出不能正常显示,显示如:<zip object at 0x0000000002598548> 用法示例: 读者看看下面的例子,对…