📜  如何在python代码示例中添加到列表中的索引

📅  最后修改于: 2022-03-11 14:47:15.157000             🧑  作者: Mango

代码示例1
a = ['a','b','c','d','e']

for i in range(len(a)):
    a[i] = a[i] + " : Alphabet"
    print(a[i])