RosettaCodeData/Task/Loops-Continue/Picat/loops-continue.picat

10 lines
164 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
main =>
foreach (I in 1..10)
printf("%d", I),
if (I mod 5 == 0) then
nl
else
printf(", ")
end,
end.