repeat k = math.random(19) print(k) if k == 10 then break end print(math.random(19) until false