for循环中访问索引 用for循环遍历一个列表很简单: scores = [99, 96, 93, 85, 78, 66, 58] for s in scores: print(s) 结果是: 99 96 93 85 78 66 58 如果要同时打印出名次,类似下面这样: 第1名是