Skip to content

Rand rand

Takes two arguments: the number of random elements to generate and a range of each element.

 (rand 5 10)
[7 3 6 4 9]
 (rand 5 100)
[23 45 67 89 12]