>[success] # enumerate ~~~ 1,第二个参数开始的序列号 ~~~ ~~~ item = ['a', 'b', 'c'] for k,v in enumerate(item,1): print(k,v) 打印结果: 1 a 2 b 3 c ~~~