python3 zip()函数笔记

a=[1,2,3]
b=[4,5,6]

for A ,B in zip(a,b):#用zip()函数整体打包
print(A,B)
posted @ 2017-09-07 15:19  糖宝虫  阅读(102)  评论(0编辑  收藏  举报