Python 同时for遍历多个列表 1 a = range(3) 2 b = range(3) 3 [ (x, y) for x, y in zip(a, b) ] 结果: 1 [ (0,0), (1,1), (2,2) ] 当然,如上可以推广到多个列表。