为什么我这样写不对
L = ['Adam', 'Lisa', 'Bart', 'Paul']
s=range (1,5)
x=zip(s,L)
for index, name in enumerate(x):
print index, '-', name
L = ['Adam', 'Lisa', 'Bart', 'Paul']
s=range (1,5)
x=zip(s,L)
for index, name in enumerate(x):
print index, '-', name
2018-11-04
举报