#例子a=1b=list(range(10))for y in b: print(a,y) a+=1#结果 Connected to pydev debugger (build 141.2569)1 02 13 24 35 46 57 68 79 810 9