Run
import random #specific range min = 2 max = 10 #generate a random floating point number f = min + (max-min)*random.random() print(f)
Output