Fundamentals13 / 14
Up next

repeat / until

-- repeat always runs the body at least once
local n = 1
repeat
  n = n * 2
until n >= 100
print(n)
What you're solving

body runs once, then tests the condition