I didn't open Rajaa's attachments, perhaps they list the same.
Its the same as in Rhino Script: simply do a rnd*x.
rnd will give you a random number between 0 and 1 everytime.
x can be any multiplier you want that can help you set the upper limit of the output with a default lower limit of 0. If you want things between a specific range of numbers, you can use:
range = upperlimit - lowerlimit
number = rnd * range
if you need a series of random numbers, just put it in a for loop.