zip 的对象是不能用索引去取的

t =  zip(a,b)

t[0]会出错

需要转成list

t =  list(zip(a,b))

posted @ 2019-05-06 20:15  yjy888  阅读(174)  评论(0编辑  收藏  举报