关键字

kotlin
repeat(3){
println(“hello,world”)
}

他会将repeat中的函数体执行3遍