📅  最后修改于: 2022-03-11 14:53:31.995000             🧑  作者: Mango
代码示例3
var i = 1
while (i < 5) { // while loop
println(i)
i++
}
var i = 1
do { // do-while loop
println(i)
i++
} while (i < 5)