print('----------------') a = ['aa','bb','cc','dd','ee'] for i in range(len(a)): print(i,a[i])#默认换行 print('分割-----') for i in range(len(a)): print(i,a[i],end='')#不换行 print('分割-----') for i in range(len(a)): print(i,a[i],end=' ')#不换行,空格隔开 print('分割-----') for i in range(len(a)): print(i,a[i],end=',')#不换行,逗号隔开 print('分割-----') for i in range(len(a)): print(i,a[i],end='>')#>隔开