🌈 搜索
📅  最后修改于: 2022-03-11 14:52:17.635000             🧑  作者: Mango
for(int i = 0; i < 10; i++) { //your code if(random.nextInt(5) == 0) { i--; } //1 in 5 chance to repeat loop cycle }