Python 数组的遍历

arr = ['a','b','c']
for each in arr:
  print(each)
#https://blog.csdn.net/q54244125/article/details/89294895    
list = ["a", "b", "c", "d", "e"]
for index, value in enumerate(list):
    print(index, value)
原文地址:https://www.cnblogs.com/guxingy/p/12410573.html