Family Day update
This commit is contained in:
parent
aac6731f2c
commit
9ad63ea473
2442 changed files with 39761 additions and 8255 deletions
4
Task/Loops-Nested/Factor/loops-nested-1.factor
Normal file
4
Task/Loops-Nested/Factor/loops-nested-1.factor
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
USING: 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 = ] find nl drop ] find 2drop ! print values until 20 is found
|
||||
Loading…
Add table
Add a link
Reference in a new issue