RosettaCodeData/Task/Loops-While/Neko/loops-while.neko

7 lines
73 B
Plaintext

var i = 1024
while(i > 0) {
$print(i + "\n");
i = $idiv(i, 2)
}