📅  最后修改于: 2022-03-11 14:45:41.178000             🧑  作者: Mango
代码示例1
example_list = ["A", "B", "C"]
for counter, letter in enumerate(example_list):
print(counter, letter)
# 0 A
# 1 B
# 2 C