RosettaCodeData/Task/Loops-Break/Pluto/loops-break.pluto
2025-08-11 18:05:26 -07:00

6 lines
124 B
Text

while true do
local r = math.random(0, 19)
print(r)
if r == 10 then break end
print(math.random(0, 19))
end