即刻App
年轻人的同好社区
下载
App内打开
善宝橘
2年前
学到的一个循环技巧:
在 list [0,1,2,3,4,5] 中循环遍历,可以使用除余。
index = (index + 1) % list.count
妙鸭~
6
6
3
来自圈子
JitHub程序员
389203人已经加入
加入