I\'m trying to generate a random number between 0.1 and 1.0. We can\'t use rand.randint because it returns integers. We have also tried random.uniform(0.1
rand.randint
random.uniform(0.1
In numpy, you can do the following:
import numpy numpy.random.uniform(0.1, numpy.nextafter(1, 2))