@main def main(): Unit = var i = 0 // while repeats until the condition is false while i < 3 do println(i) i += 1
repeat while a condition holds