RosettaCodeData/Task/Loops-Do-while/PARI-GP/loops-do-while-1.pari

6 lines
55 B
Plaintext

x = 0;
while(1,
print(x++);
if(x % 6 == 0, break)
)