🌈 搜索
📅  最后修改于: 2022-03-11 14:45:31.435000             🧑  作者: Mango
ls = ["a", "b", "c"] for index, item in enumerate(ls): # if index == 2: print(index) print(item)