python zip 绑定多个list
>>> a = [1, 2, 3]
>>> b = [1, 2, 3]
>>> zip(a,b)
[(1, 1), (2, 2), (3, 3)]
>>> zip(a,b,a)
[(1, 1, 1), (2, 2, 2), (3, 3, 3)]
>>> zip(a,b,a,b)
[(1, 1, 1, 1), (2, 2, 2, 2), (3, 3, 3, 3)]
>>> zip(a, [1,2])
[(1, 1), (2, 2)]
欢迎关注微信公众号<生信修炼手册>