搜索
❯
2024年7月23日1分钟阅读
在 list [0,1,2,3,4,5] 中循环遍历,可以使用除余
index = (index + 1) % list.count
Reference 学到的一个循环技巧
Reference
学到的一个循环技巧