CodeType
Learn
…
←
Fundamentals
8 / 14
Up next
while loop
local
n =
1
while
n <
100
do
n = n *
2
end
print
(n)
What you're solving
repeat while a condition holds
Explain more ↓
Start typing →