(random-range min max)
This procedure calls random() and delivers a random, unbiased integer within the specified range (including the boundaries). The min value must be arithmetically smaller than max.
A random integer is returned.
> (random-range 1 6)
1
> (random-range 1 6)
2
> (random-range -2 -1)
-2
> (random-range -2 -1)
-1
>