此意图使用 withIndex() 函数替换 for 循环中手动递增的索引变量。