I want to generate random float number in the range 0 and 0.0001
I tried:
from numpy import random
random.random(0, 0.0001)
But i got the error :
TypeError: random() takes at most 1 positional argument (2 given)
Then i tried :
from numpy import random
random.random(0.0001)
But i got the error : TypeError: 'float' object cannot be interpreted as an integer
How can i produce random numbers in this range ? [0, 0.0001]
Aucun commentaire:
Enregistrer un commentaire