RosettaCodeData/Task/Loops-Break/Mathematica/loops-break.math

4 lines
94 B
Plaintext

While[(Print[#];#!=10)&[RandomIntger[{0,19}]],
Print[RandomInteger[{0,19}]
]