Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
7
Task/Loops-Nested/Factor/loops-nested-2.factor
Normal file
7
Task/Loops-Nested/Factor/loops-nested-2.factor
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
USING: continuations io kernel math.ranges prettyprint random
|
||||
sequences ;
|
||||
|
||||
10 [ 20 [ 20 [1,b] random ] replicate ] replicate ! make a table of random values
|
||||
[
|
||||
[ [ dup pprint bl 20 = [ return ] when ] each nl ] each ! print values until 20 is found
|
||||
] with-return drop
|
||||
Loading…
Add table
Add a link
Reference in a new issue