N
nialltimpson
I'm trying to write a program that randomily 1 of 6 possible numbers
(predefined), I was thinking of using math.random, to choose a number
between 0 and 1. Then dividing this range into 6, corresponding to the
predefinid number. But It just sound like such an adhoc way of doing it.
Any better idea's?
Niall
(predefined), I was thinking of using math.random, to choose a number
between 0 and 1. Then dividing this range into 6, corresponding to the
predefinid number. But It just sound like such an adhoc way of doing it.
Any better idea's?
Niall