python基础之内置函数 参考: http://www.runoob.com/python/python-built-in-functions.html -zip() zip函数接受任意多个(包括0个和1个)序列作为参数,返回一个tuple列表 实例1: x = [1, 2, 3] y = [4, 5, 6] z = [7, 8, 9] xyz = zip(x, y, z) print(xyz) #运行的结果是: #[(1, 4, 7), (2, 5, 8), (3, 6, 9)] 实例2:…