RosettaCodeData/Task/Loops-Break/GAP/loops-break.gap
2023-07-01 13:44:08 -04:00

17 lines
237 B
Text

while true do
a := Random(0, 19);
Print(a);
if a = 10 then
Print("\n");
break;
fi;
a := Random(0, 19);
Print("\t", a, "\n");
od;
# 11 6
# 5 8
# 1 4
# 5 10
# 1 16
# 10