RosettaCodeData/Task/Loops-Break/PARI-GP/loops-break.pari

7 lines
79 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
while(1,
t=random(20);
print(t);
if(t==10, break);
print(random(20))
)