xxxxxxxxxx
rand()#that will give you a random float between 0 and 10
rand(num)#that will give you a random integer between 0 and the number num
rand(firstsecond)#that will give you a random
#integer between first and second
xxxxxxxxxx
puts rand(25) # from 0 to 25
puts rand(1..25) # from 1 to 25
puts rand(5...25) # from 1 to 24
puts rand(3.14..102.54) # from 3.14 to 102.54