for i in score.reverse() { println(i)} 追问 这不对的啊。score这个数组是不变的。 追答 你上面只是说要输出。如果想还要改变就这样:score = score.reverse()for i in score { println(i)}