7 lines
217 B
Smalltalk
7 lines
217 B
Smalltalk
[:exit |
|
|
|first|
|
|
|
|
Stdout printCR: (first := Random nextIntegerBetween:0 and:19).
|
|
first == 10 ifTrue:[ exit value:nil ].
|
|
Stdout print:' '; printCR: (Random nextIntegerBetween:0 and:19).
|
|
] loopWithExit.
|